-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (38 loc) · 1.23 KB
/
Copy pathdocker-compose.yml
File metadata and controls
41 lines (38 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
services:
backend:
image: ghcr.io/amplace/waveflow-backend:${WAVEFLOW_RELEASE_VERSION:?WAVEFLOW_RELEASE_VERSION_required}
container_name: waveflow-backend
labels:
org.opencontainers.image.version: ${WAVEFLOW_RELEASE_VERSION:?WAVEFLOW_RELEASE_VERSION_required}
expose:
- "8000"
environment:
WAVEFLOW_MODE: ${WAVEFLOW_MODE:-nas}
WAVEFLOW_ALLOWED_ORIGINS: ${WAVEFLOW_ALLOWED_ORIGINS:-}
WAVEFLOW_PRODUCTION: ${WAVEFLOW_PRODUCTION:-}
WAVEFLOW_PROXY_HANDLE_SECRET: ${WAVEFLOW_PROXY_HANDLE_SECRET:-}
WAVEFLOW_SESSION_SECRET: ${WAVEFLOW_SESSION_SECRET:-}
HITFM_COOKIE: ${HITFM_COOKIE:-}
volumes:
- waveflow-data:/app/data
networks:
- waveflow-net
restart: unless-stopped
# 前端服务
frontend:
image: ghcr.io/amplace/waveflow-frontend:${WAVEFLOW_RELEASE_VERSION:?WAVEFLOW_RELEASE_VERSION_required}
container_name: waveflow-frontend
labels:
org.opencontainers.image.version: ${WAVEFLOW_RELEASE_VERSION:?WAVEFLOW_RELEASE_VERSION_required}
depends_on:
- backend
ports:
- "${WAVEFLOW_PORT:-8080}:80"
networks:
- waveflow-net
restart: unless-stopped
networks:
waveflow-net:
driver: bridge
volumes:
waveflow-data: