LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
1. /data/ is readonly on macOS -> changed to ./keys/ 2. Changed Friendcode Annotation to unique
48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
volumes:
|
|
nominatim-data:
|
|
postgres_data:
|
|
jwt_keys:
|
|
|
|
services:
|
|
backend:
|
|
build: .
|
|
image: backend:latest
|
|
container_name: sumoc-backend
|
|
ports:
|
|
- "8080:8080"
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
RSA_PRIVATE_KEY_PATH: ./keys/jwt-private.pem
|
|
RSA_PUBLIC_KEY_PATH: ./keys/jwt-public.pem
|
|
volumes:
|
|
- jwt_keys:./keys
|
|
depends_on:
|
|
- db
|
|
restart: unless-stopped
|
|
|
|
db:
|
|
image: postgres:16.2-alpine
|
|
container_name: sumoc_db
|
|
environment:
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_PASSWORD=admin
|
|
- POSTGRES_DB=sumoc
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
ports:
|
|
- "5432:5432"
|
|
restart: always
|
|
|
|
# nominatim:
|
|
# image: mediagis/nominatim:5.2
|
|
# container_name: nominatim
|
|
# environment:
|
|
# PBF_URL: https://download.geofabrik.de/europe/germany/nordrhein-westfalen-latest.osm.pbf
|
|
# REPLICATION_ENABLED: false
|
|
# volumes:
|
|
# - nominatim-data:/var/lib/postgresql/14/main
|
|
# restart: unless-stopped
|
|
# ports:
|
|
# - "6666:8080"
|