feat(docker-compose): rename containers
This commit is contained in:
parent
b6fbc0e71d
commit
9da99c6e00
@ -1,31 +1,31 @@
|
|||||||
version: '3'
|
version: '3'
|
||||||
services:
|
services:
|
||||||
db:
|
postgis:
|
||||||
image: postgis/postgis:12-3.3
|
image: postgis/postgis:12-3.3
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_HOST_AUTH_METHOD=trust
|
- POSTGRES_HOST_AUTH_METHOD=trust
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/postgresql/data
|
- postgis:/var/lib/postgresql/data
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:latest
|
image: redis:latest
|
||||||
|
|
||||||
app:
|
umap:
|
||||||
image: pommib/umap:1.2.3
|
image: pommib/umap:1.2.3
|
||||||
ports:
|
ports:
|
||||||
- "8000:80"
|
- "8000:80"
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_URL=postgis://postgres@db/postgres
|
- DATABASE_URL=postgis://postgres@postgis/postgres
|
||||||
- REDIS_URL=redis://redis:6379/0
|
- REDIS_URL=redis://redis:6379/0
|
||||||
- SECRET_KEY=some-long-and-weirdly-unrandom-secret-key
|
- SECRET_KEY=some-long-and-weirdly-unrandom-secret-key
|
||||||
- ALLOWED_HOSTS=*
|
- ALLOWED_HOSTS=*
|
||||||
- SITE_URL=https://umap.somewhere.nl/
|
- SITE_URL=https://umap.somewhere.nl/
|
||||||
- LEAFLET_STORAGE_ALLOW_ANONYMOUS=True
|
- LEAFLET_STORAGE_ALLOW_ANONYMOUS=True
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- postgis
|
||||||
- redis
|
- redis
|
||||||
# command: "tail -F anything"
|
# command: "tail -F anything"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db:
|
postgis:
|
||||||
uploads:
|
uploads:
|
||||||
|
Loading…
Reference in New Issue
Block a user