mirror of https://gitlab.com/m3f_usm/cms
Update readme.md
parent
972de9cd99
commit
6a05e3be37
16
readme.md
16
readme.md
|
@ -1,4 +1,3 @@
|
|||
|
||||
# file: docker-compose.yml
|
||||
|
||||
~~~yml
|
||||
|
@ -30,13 +29,20 @@ services:
|
|||
[ -f .env ] || ([ -f .env.develop ] && cp .env.develop .env) ;
|
||||
python myproject/manage.py runserver 0.0.0.0:$$PORT
|
||||
"
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: transporte_default
|
||||
|
||||
db:
|
||||
image: postgis/postgis:14-3.4-alpine
|
||||
volumes:
|
||||
- db:/var/lib/postgresql/data
|
||||
- ./dumps:/docker-entrypoint-initdb.d
|
||||
environment:
|
||||
POSTGRES_PASSWORD: password
|
||||
POSTGRES_DB: cms
|
||||
PGDATA: /var/lib/postgresql/data/pgdata
|
||||
|
||||
volumes:
|
||||
venv:
|
||||
db:
|
||||
~~~
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue