docker-compose-configs/invidious/valkey-invidious/docker-compose.yml

39 lines
757 B
YAML
Raw Normal View History

2024-09-15 20:19:54 -03:00
2024-12-24 21:32:31 -03:00
# https://docs.docker.com/reference/compose-file/extension/
x-common: &common
image: valkey/valkey:7.2-alpine
2024-12-21 15:55:03 -03:00
hostname: valkey
restart: unless-stopped
volumes:
- ./valkey.conf:/usr/local/etc/valkey/valkey.conf
command: "valkey-server /usr/local/etc/valkey/valkey.conf"
2024-12-21 15:55:03 -03:00
services:
# Cache needs to be separated since the cache data is bound to the IP
# address of the backend. Is not possible to mix cache between backends.
valkey:
2024-12-24 21:32:31 -03:00
<<: *common
networks:
- invidious
2024-09-15 20:19:54 -03:00
2024-12-21 15:55:03 -03:00
valkey2:
2024-12-24 21:32:31 -03:00
<<: *common
2024-09-15 20:19:54 -03:00
networks:
2024-12-24 21:32:31 -03:00
- invidious2
2024-12-21 15:55:03 -03:00
valkey3:
2024-12-24 21:32:31 -03:00
<<: *common
2024-09-18 04:45:35 -03:00
networks:
2024-12-24 21:32:31 -03:00
- invidious3
2024-09-18 04:45:35 -03:00
2024-12-21 15:55:03 -03:00
valkey4:
2024-12-24 21:32:31 -03:00
<<: *common
networks:
2024-12-24 21:32:31 -03:00
- invidious4
2024-09-15 20:19:54 -03:00
2025-01-20 15:25:56 -03:00
valkey5:
<<: *common
networks:
- invidious5