2022-11-18 16:06:31 +01:00
|
|
|
version: '3'
|
|
|
|
services:
|
2022-11-24 14:33:22 +01:00
|
|
|
postgis:
|
2022-11-18 16:06:31 +01:00
|
|
|
image: postgis/postgis:12-3.3
|
|
|
|
environment:
|
|
|
|
- POSTGRES_HOST_AUTH_METHOD=trust
|
|
|
|
volumes:
|
2022-11-24 14:33:22 +01:00
|
|
|
- postgis:/var/lib/postgresql/data
|
2022-11-18 16:06:31 +01:00
|
|
|
|
|
|
|
redis:
|
|
|
|
image: redis:latest
|
|
|
|
|
2022-11-24 14:33:22 +01:00
|
|
|
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:
|
2022-11-24 14:33:22 +01:00
|
|
|
- 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:
|
2022-11-24 14:33:22 +01:00
|
|
|
- postgis
|
2022-11-18 16:06:31 +01:00
|
|
|
- redis
|
|
|
|
# command: "tail -F anything"
|
|
|
|
|
|
|
|
volumes:
|
2022-11-24 14:33:22 +01:00
|
|
|
postgis:
|
2022-11-18 16:06:31 +01:00
|
|
|
uploads:
|