mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-14 20:19:35 +01:00
Working on Docker Compose | Add prot for redis & mariadb
This commit is contained in:
@@ -51,8 +51,13 @@ services:
|
||||
- 3306:3306
|
||||
networks:
|
||||
- internal
|
||||
- proxy
|
||||
labels:
|
||||
- traefik.enable=false
|
||||
- traefik.http.routers.artapi.rule=Host(`sql.arthurdanjou.fr`)
|
||||
- traefik.http.routers.artapi.tls=true
|
||||
- traefik.http.routers.artapi.tls.certresolver=lets-encrypt
|
||||
- traefik.docker.network=proxy
|
||||
- traefik.port=443
|
||||
volumes:
|
||||
- "/root/mariadb/data:/var/lib/mysql"
|
||||
redis:
|
||||
@@ -62,7 +67,12 @@ services:
|
||||
- 6379:6379
|
||||
networks:
|
||||
- internal
|
||||
- proxy
|
||||
labels:
|
||||
- traefik.enable=false
|
||||
- traefik.http.routers.artapi.rule=Host(`redis.arthurdanjou.fr`)
|
||||
- traefik.http.routers.artapi.tls=true
|
||||
- traefik.http.routers.artapi.tls.certresolver=lets-encrypt
|
||||
- traefik.docker.network=proxy
|
||||
- traefik.port=443
|
||||
volumes:
|
||||
- "/root/redis/:/usr/local/etc/redis/"
|
||||
|
||||
Reference in New Issue
Block a user