feat: deploy demo test
This commit is contained in:
+17
-1
@@ -1,6 +1,16 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
web:
|
||||
image: nginx:alpine
|
||||
ports:
|
||||
- "8888:80"
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./default.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
depends_on:
|
||||
- backend
|
||||
|
||||
backend:
|
||||
build:
|
||||
context: .
|
||||
@@ -9,6 +19,9 @@ services:
|
||||
- "8000:8000"
|
||||
environment:
|
||||
- RUNTIME_BASE_URL=http://runtime:8001
|
||||
volumes:
|
||||
- ./backend:/app/backend:ro
|
||||
- ./common:/app/common:ro
|
||||
depends_on:
|
||||
- runtime
|
||||
|
||||
@@ -19,4 +32,7 @@ services:
|
||||
ports:
|
||||
- "8001:8001"
|
||||
environment:
|
||||
- PUBLIC_BASE_URL=http://runtime
|
||||
- PUBLIC_BASE_URL=http://runtime
|
||||
volumes:
|
||||
- ./runtime:/app/runtime:ro
|
||||
- ./common:/app/common:ro
|
||||
Reference in New Issue
Block a user