1
This commit is contained in:
parent
42864ce50a
commit
c2ae4d0c27
@ -8,8 +8,8 @@ services:
|
|||||||
- CH_FRONTEND_URL=http://localhost
|
- CH_FRONTEND_URL=http://localhost
|
||||||
volumes:
|
volumes:
|
||||||
- classhub-data:/app/data
|
- classhub-data:/app/data
|
||||||
expose:
|
ports:
|
||||||
- "8000"
|
- "8000:8000"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/api/health')"]
|
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/api/health')"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
@ -22,21 +22,10 @@ services:
|
|||||||
args:
|
args:
|
||||||
- NEXT_PUBLIC_API_URL=
|
- NEXT_PUBLIC_API_URL=
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
expose:
|
|
||||||
- "3000"
|
|
||||||
depends_on:
|
|
||||||
- backend
|
|
||||||
|
|
||||||
nginx:
|
|
||||||
image: nginx:alpine
|
|
||||||
restart: unless-stopped
|
|
||||||
ports:
|
ports:
|
||||||
- "3008:80"
|
- "3008:3000"
|
||||||
volumes:
|
|
||||||
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- backend
|
- backend
|
||||||
- frontend
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
classhub-data:
|
classhub-data:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user