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.
62 lines
1.4 KiB
62 lines
1.4 KiB
version: "3"
|
|
|
|
services:
|
|
geodata:
|
|
image: geoshop-backend
|
|
build:
|
|
context: ../backend/src/
|
|
dockerfile: ../../docker/Dockerfile.backend
|
|
volumes:
|
|
- tmp_vol:/tmp
|
|
environment:
|
|
- SECRET_KEY="iYg7wB+sPihtjz50iJTsD0XmOeUwKy2TJtfNLcqFRM8="
|
|
|
|
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/geodata" # TODO: change to real password
|
|
restart: unless-stopped
|
|
|
|
frontend:
|
|
image: geoshop-frontend
|
|
build:
|
|
context: ../frontend/
|
|
dockerfile: ../docker/Dockerfile.frontend
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- caddy_data:/data
|
|
- caddy_config:/config
|
|
- ../caddy:/etc/caddy
|
|
- ../previews:/srv
|
|
environment:
|
|
- SECRET_KEY="iYg7wB+sPihtjz50iJTsD0XmOeUwKy2TJtfNLcqFRM8="
|
|
|
|
pgweb:
|
|
restart: always
|
|
image: sosedoff/pgweb:0.11.12
|
|
environment:
|
|
DATABASE_URL: "postgres://geodata:QAKvBKvLe4bS9U@postgres/geodata?sslmode=disable" # TODO: change to real password
|
|
|
|
|
|
volumes:
|
|
geodata_db:
|
|
caddy_config:
|
|
caddy_data:
|
|
external: true
|
|
tmp_vol:
|
|
driver_opts:
|
|
type: tmpfs
|
|
device: tmpfs
|