You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
588 B
37 lines
588 B
version: '3.8'
|
|
|
|
|
|
services:
|
|
web:
|
|
build: .
|
|
command: python manage.py runserver 0.0.0.0:8000
|
|
volumes:
|
|
- .:/usr/src/app
|
|
- ./volumes/static_data:/usr/src/app/static/
|
|
ports:
|
|
- "9000:8000"
|
|
env_file:
|
|
- .env.dev
|
|
depends_on:
|
|
- postgres
|
|
networks:
|
|
- imam-javad
|
|
|
|
postgres:
|
|
ports:
|
|
- "5444:5432"
|
|
image: postgres:13.7
|
|
|
|
volumes:
|
|
- ./volumes/postgres_data:/var/lib/postgresql/data
|
|
env_file:
|
|
- .env.dev
|
|
networks:
|
|
- imam-javad
|
|
|
|
|
|
volumes:
|
|
postgres_data:
|
|
staticfiles:
|
|
networks:
|
|
imam-javad:
|