You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
geodata-catalog/docker/docker-compose.yml

47 lines
951 B

version: "3"
services:
geodata:
image: geodata-catalog
build:
context: ../src/
dockerfile: ../docker/Dockerfile
volumes:
- tmp_vol:/tmp
postgres:
image: "postgis/postgis:13-3.2"
environment:
POSTGRES_USER: "geodata"
POSTGRES_DB: "geodata"
POSTGRES_PASSWORD: "QAKvBKvLe4bS9U" # TODO: change to real password
volumes:
- geodata_db:/var/lib/postgresql/data
martin:
image: "urbica/martin:pr-368"
environment:
DATABASE_URL: "postgres://geodata:QAKvBKvLe4bS9U@postgres/spatial" # TODO: change to real password
restart: unless-stopped
ports:
- "3000:3000"
rproxy:
image: caddy:2-alpine
ports:
- "80:80"
volumes:
- caddy_data:/data
- caddy_config:/config
- ../caddy:/etc/caddy
volumes:
geodata_db:
caddy_config:
caddy_data:
external: true
tmp_vol:
driver_opts:
type: tmpfs
device: tmpfs