a unified docker image

This commit is contained in:
Eugene Pankov
2021-11-21 00:08:04 +01:00
parent e1b0d01ac3
commit 34ac0781c2
11 changed files with 174 additions and 34 deletions

21
docker-compose.split.yml Normal file
View File

@@ -0,0 +1,21 @@
services:
frontend:
build: frontend
ports:
- 9090:80
environment:
- PORT=80
- BACKEND_URL=http://localhost:9091
backend:
build: backend
ports:
- 9091:80
volumes:
- ./app-dist:/app-dist
environment:
- DATABASE_URL
- PORT=80
- FRONTEND_URL=http://localhost:9090
- ENABLE_HOMEPAGE=False
- DEBUG=False
- APP_DIST_STORAGE=file:///app-dist