GeoTracking/compose.yaml
2025-01-09 09:00:08 +01:00

29 lines
638 B
YAML

# Use postgres/example user/password credentials
services:
db:
image: postgres
restart: always
ports:
- 5432:5432
# set shared memory limit when using docker-compose
shm_size: 128mb
# or set shared memory limit when deploy via swarm stack
#volumes:
# - type: tmpfs
# target: /dev/shm
# tmpfs:
# size: 134217728 # 128*2^20 bytes = 128Mb
environment:
POSTGRES_USER: example
POSTGRES_PASSWORD: example
POSTGRES_DB: geotrack
web:
build: .
ports:
- "8000:5000"
adminer:
image: adminer
restart: always
ports:
- 8080:8080