mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-18 05:58:08 +01:00
Working on Docker Compose | Using volumes
This commit is contained in:
@@ -31,6 +31,7 @@ services:
|
||||
- proxy
|
||||
depends_on:
|
||||
- mariadb
|
||||
- redis
|
||||
mariadb:
|
||||
image: mariadb:10.5.8-focal
|
||||
environment:
|
||||
@@ -39,3 +40,15 @@ services:
|
||||
- internal
|
||||
labels:
|
||||
- traefik.enable=false
|
||||
volumes:
|
||||
- "/root/mariadb/data:/var/lib/mysql"
|
||||
redis:
|
||||
image: redis:6.0.10
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD:
|
||||
networks:
|
||||
- internal
|
||||
labels:
|
||||
- traefik.enable=false
|
||||
volumes:
|
||||
- "/root/redis/redis.conf:/usr/local/etc/redis/redis.conf"
|
||||
|
||||
Reference in New Issue
Block a user