mirror of https://github.com/interlegis/sigi.git
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.
26 lines
513 B
26 lines
513 B
version: "3.3"
|
|
|
|
services:
|
|
db:
|
|
image: postgres:12.9
|
|
volumes:
|
|
- ./data/db:/var/lib/postgresql/data
|
|
environment:
|
|
- POSTGRES_NAME=postgres
|
|
- POSTGRES_USER=sigi
|
|
- POSTGRES_PASSWORD=123456
|
|
code:
|
|
build: .
|
|
command: python manage.py runserver 0.0.0.0:8000
|
|
volumes:
|
|
- .:/code
|
|
ports:
|
|
- "8000:8000"
|
|
environment:
|
|
- DB_HOST=db
|
|
- POSTGRES_NAME=postgres
|
|
- POSTGRES_USER=sigi
|
|
- POSTGRES_PASSWORD=132456
|
|
depends_on:
|
|
- db
|
|
|
|
|