2024-06-03 18:43:35 +02:00
|
|
|
version: '3.3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
framadate:
|
|
|
|
# ports:
|
|
|
|
# - 8088:80
|
|
|
|
image: datekaz
|
|
|
|
container_name: ${framadateServName}
|
|
|
|
restart: ${restartPolicy}
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
networks:
|
|
|
|
- framadateNet
|
|
|
|
- postfixNet
|
|
|
|
external_links:
|
|
|
|
- ${framadateDBName}:db
|
|
|
|
- ${smtpServName}:${smtpHost}
|
|
|
|
volumes:
|
|
|
|
- ./config/framadate.conf:/etc/apache2/sites-available/000-default.conf
|
|
|
|
- dateAdmin:/var/framadate/admin
|
|
|
|
- dateConfig:/var/framadate/app/inc
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.http.routers.${framadateServName}-admin.rule=Host(`${dateHost}.${domain}`) && PathPrefix(`/admin`)"
|
2024-08-16 23:36:05 +02:00
|
|
|
- "traefik.http.routers.${framadateServName}-admin.middlewares=test-adminipallowlist@file"
|
2024-06-03 18:43:35 +02:00
|
|
|
- "traefik.http.routers.${framadateServName}.rule=Host(`${dateHost}.${domain}`)"
|
|
|
|
- "traefik.docker.network=framadateNet"
|
|
|
|
|
|
|
|
db:
|
|
|
|
image: mariadb:10.5
|
|
|
|
container_name: ${framadateDBName}
|
|
|
|
restart: ${restartPolicy}
|
|
|
|
networks:
|
|
|
|
- framadateNet
|
|
|
|
env_file:
|
|
|
|
- ../../secret/env-${framadateDBName}
|
|
|
|
volumes:
|
|
|
|
- dateDB:/var/lib/mysql
|
|
|
|
- /home/sauve/:/svg/
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
dateDB:
|
|
|
|
dateConfig:
|
|
|
|
dateAdmin:
|
|
|
|
dateLocale:
|
|
|
|
|
|
|
|
networks:
|
|
|
|
framadateNet:
|
|
|
|
external: true
|
|
|
|
name: framadateNet
|
|
|
|
postfixNet:
|
|
|
|
external: true
|
|
|
|
name: postfixNet
|