2021-05-09 22:07:17 +02:00
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
services:
|
|
|
|
app:
|
|
|
|
build: .
|
2022-08-25 15:22:35 +02:00
|
|
|
image: my_roundcube:1.6.0
|
2021-05-09 22:07:17 +02:00
|
|
|
restart: unless-stopped
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
volumes:
|
|
|
|
- ${DATA_PATH}/app:/var/www/html
|
|
|
|
- ${DATA_PATH}/enigma:/etc/enigma/gnupg
|
2021-05-19 19:35:55 +02:00
|
|
|
env_file: secrets/app.secrets
|
2021-05-09 22:07:17 +02:00
|
|
|
environment:
|
|
|
|
- ROUNDCUBEMAIL_SKIN=elastic
|
2022-08-31 12:34:06 +02:00
|
|
|
- ROUNDCUBEMAIL_DEFAULT_HOST=ssl://${MAIL_SERVER}
|
|
|
|
- ROUNDCUBEMAIL_SMTP_SERVER=ssl://${MAIL_SERVER}
|
|
|
|
- ROUNDCUBEMAIL_SMTP_PORT=465
|
|
|
|
- ROUNDCUBEMAIL_DEFAULT_PORT=993
|
2021-05-09 22:07:17 +02:00
|
|
|
- ROUNDCUBEMAIL_PLUGINS=archive, zipdownload, enigma, carddav
|
|
|
|
networks:
|
|
|
|
- default
|
|
|
|
- proxy
|
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.docker.network=proxy"
|
|
|
|
- "traefik.http.middlewares.rc-redirect-websecure.redirectscheme.scheme=https"
|
|
|
|
- "traefik.http.routers.rc-http.middlewares=rc-redirect-websecure"
|
|
|
|
- "traefik.http.routers.rc-http.rule=Host(`${CN}`)"
|
|
|
|
- "traefik.http.routers.rc-http.entrypoints=web"
|
|
|
|
- "traefik.http.routers.rc-https.rule=Host(`${CN}`)"
|
|
|
|
- "traefik.http.routers.rc-https.entrypoints=websecure"
|
|
|
|
- "traefik.http.routers.rc-https.tls=true"
|
|
|
|
- "traefik.http.routers.rc-https.tls.certresolver=myhttpchallenge"
|
2021-10-18 23:30:00 +02:00
|
|
|
- "co.elastic.logs/module=apache"
|
|
|
|
- "co.elastic.logs/fileset=access"
|
2021-05-09 22:07:17 +02:00
|
|
|
|
|
|
|
db:
|
|
|
|
image: mariadb:10.5
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- ${DATA_PATH}/db:/var/lib/mysql
|
2021-05-19 19:35:55 +02:00
|
|
|
env_file: secrets/db.secrets
|
2021-10-18 23:30:00 +02:00
|
|
|
labels:
|
|
|
|
- "co.elastic.logs/module=mysql"
|
2021-05-09 22:07:17 +02:00
|
|
|
|
|
|
|
networks:
|
|
|
|
proxy:
|
|
|
|
external: true
|