remove nginx
This commit is contained in:
+8
-5
@@ -1,6 +1,7 @@
|
||||
services:
|
||||
backend:
|
||||
build: ./backend
|
||||
container_name: astronome-backend
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./data:/data
|
||||
@@ -8,23 +9,25 @@ services:
|
||||
- DATABASE_URL=sqlite:///data/astronome.db
|
||||
- RUST_LOG=info
|
||||
ports:
|
||||
- "3301:3301"
|
||||
- 3001:3001
|
||||
|
||||
frontend:
|
||||
build: ./frontend
|
||||
container_name: astronome-frontend
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3300:80"
|
||||
- 3000:80
|
||||
depends_on:
|
||||
- backend
|
||||
|
||||
nginx:
|
||||
image: nginx:alpine
|
||||
container_name: astronome-nginx
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "80:80"
|
||||
- 8081:80
|
||||
volumes:
|
||||
- ./nginx-conf.conf:/etc/nginx/nginx-conf.conf:ro
|
||||
- ./nginx.conf:/etc/nginx/nginx.conf
|
||||
depends_on:
|
||||
- backend
|
||||
- frontend
|
||||
- frontend
|
||||
Reference in New Issue
Block a user