homelab/bxl-rpi/system/docker-compose.storage.yaml

36 lines
671 B
YAML
Raw Normal View History

2023-04-16 18:16:59 +02:00
services:
postgres:
container_name: postgres
image: postgres:latest
restart: unless-stopped
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
volumes:
- $DATA/postgres:/var/lib/postgresql/data
networks:
- storage
redis:
container_name: redis
image: redis:latest
restart: unless-stopped
networks:
- storage
2023-05-01 16:40:46 +02:00
mariadb:
container_name: mariadb
image: mariadb:latest
restart: on-failure
environment:
- MARIADB_ROOT_PASSWORD=${MARIADB_ROOT}
volumes:
- $DATA/mariadb:/var/lib/mysql:rw
networks:
- storage
2023-04-16 18:16:59 +02:00
networks:
storage:
name: storage