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

36 lines
667 B
YAML
Raw Normal View History

2023-04-16 18:16:59 +02:00
services:
postgres:
container_name: postgres
2023-05-31 19:45:08 +02:00
image: postgres:15
2023-04-16 18:16:59 +02:00
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