homelab/archive/2023.02.bxl-nas/storage.docker-compose.yaml

26 lines
467 B
YAML

version: '3.7'
services:
postgres:
container_name: postgres
image: postgres:15
restart: unless-stopped
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
volumes:
- /mnt/Main/containers/postgres:/var/lib/postgresql/data
networks:
- storage
redis:
container_name: redis
image: redis:latest
restart: unless-stopped
networks:
- storage
networks:
storage:
name: storage