reorganizing build scripts
This commit is contained in:
parent
633c1e87e8
commit
b894b60b65
430 changed files with 136 additions and 53943 deletions
23
docker-compose_entire_app.yml
Normal file
23
docker-compose_entire_app.yml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
services:
|
||||
web:
|
||||
build: .
|
||||
command: python /code/manage.py runserver 0.0.0.0:8000
|
||||
volumes:
|
||||
- .:/code:z
|
||||
ports:
|
||||
- 8000:8000
|
||||
depends_on:
|
||||
- db
|
||||
db:
|
||||
image: postgres:16
|
||||
ports:
|
||||
- 5432:5432
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data/
|
||||
environment:
|
||||
- "POSTGRES_HOST_AUTH_METHOD=trust"
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
labels:
|
||||
- "db_is_resettable_via_script"
|
||||
Loading…
Add table
Add a link
Reference in a new issue