This commit is contained in:
2022-11-08 21:19:51 +01:00
commit 4c456eafc3
160 changed files with 21472 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
version: '3.7'
services:
node:
build: ./node
volumes:
- front_ogure:/static
db:
image: postgres:13.3-alpine
container_name: ogure_db
expose:
- 5432
volumes:
- db_ogure:/var/lib/postgresql/data/
env_file:
- .env.db
backend-django:
build: .
volumes:
- staticfiles:/staticfiles
env_file:
- .env
ports:
- "8001:8000"
depends_on:
- db
nginx:
build: ./nginx
volumes:
- staticfiles:/staticfiles
- front_ogure:/node
ports:
- "80:80"
depends_on:
- backend-django
- node
volumes:
staticfiles:
db_ogure:
front_ogure: