1
0
Fork 0

feat(docker-compose): rename containers

This commit is contained in:
Pim van den Berg 2022-11-24 14:33:22 +01:00
parent b6fbc0e71d
commit 9da99c6e00
1 changed files with 6 additions and 6 deletions

View File

@ -1,31 +1,31 @@
version: '3'
services:
db:
postgis:
image: postgis/postgis:12-3.3
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
volumes:
- db:/var/lib/postgresql/data
- postgis:/var/lib/postgresql/data
redis:
image: redis:latest
app:
umap:
image: pommib/umap:1.2.3
ports:
- "8000:80"
environment:
- DATABASE_URL=postgis://postgres@db/postgres
- DATABASE_URL=postgis://postgres@postgis/postgres
- REDIS_URL=redis://redis:6379/0
- SECRET_KEY=some-long-and-weirdly-unrandom-secret-key
- ALLOWED_HOSTS=*
- SITE_URL=https://umap.somewhere.nl/
- LEAFLET_STORAGE_ALLOW_ANONYMOUS=True
depends_on:
- db
- postgis
- redis
# command: "tail -F anything"
volumes:
db:
postgis:
uploads: