watch/docker-compose.yml
2024-09-02 14:34:30 -04:00

27 lines
582 B
YAML

# Use postgres/example user/password credentials
services:
db:
image: postgres
restart: always
# 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
volumes:
- watch_data:/var/lib/postgres/data
environment:
POSTGRES_PASSWORD: watch
adminer:
image: adminer
restart: always
ports:
- 8080:8080
volumes:
watch_data: {}