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
|
# file: docker-compose.yml
|
||||||
|
|
||||||
~~~yml
|
~~~yml
|
||||||
|
@ -30,13 +29,20 @@ services:
|
||||||
[ -f .env ] || ([ -f .env.develop ] && cp .env.develop .env) ;
|
[ -f .env ] || ([ -f .env.develop ] && cp .env.develop .env) ;
|
||||||
python myproject/manage.py runserver 0.0.0.0:$$PORT
|
python myproject/manage.py runserver 0.0.0.0:$$PORT
|
||||||
"
|
"
|
||||||
networks:
|
|
||||||
default:
|
db:
|
||||||
external:
|
image: postgis/postgis:14-3.4-alpine
|
||||||
name: transporte_default
|
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:
|
volumes:
|
||||||
venv:
|
venv:
|
||||||
|
db:
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue