1
0
docker-umap/docker-compose.yml

32 lines
686 B
YAML
Raw Normal View History

2022-11-18 16:06:31 +01:00
version: '3'
services:
postgis:
2022-11-18 16:06:31 +01:00
image: postgis/postgis:12-3.3
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
volumes:
- postgis:/var/lib/postgresql/data
2022-11-18 16:06:31 +01:00
redis:
image: redis:latest
umap:
2022-11-18 16:06:31 +01:00
image: pommib/umap:1.2.3
ports:
2022-11-24 14:30:34 +01:00
- "8000:80"
2022-11-18 16:06:31 +01:00
environment:
- DATABASE_URL=postgis://postgres@postgis/postgres
2022-11-18 16:06:31 +01:00
- 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:
- postgis
2022-11-18 16:06:31 +01:00
- redis
# command: "tail -F anything"
volumes:
postgis:
2022-11-18 16:06:31 +01:00
uploads: