diff options
Diffstat (limited to 'roundcube/compose.yaml')
-rw-r--r-- | roundcube/compose.yaml | 33 |
1 files changed, 11 insertions, 22 deletions
diff --git a/roundcube/compose.yaml b/roundcube/compose.yaml index f81b153..61cc114 100644 --- a/roundcube/compose.yaml +++ b/roundcube/compose.yaml @@ -5,36 +5,25 @@ services: container_name: roundcubedb restart: unless-stopped volumes: - - ./db/mysql:/var/lib/mysql + - ${DB_DATA_PATH}:/var/lib/mysql ports: - - 10.0.0.1:34010:5432 - - 10.0.0.1:33006:3306 + - 10.0.0.1:${MYSQL_PORT}:3306 environment: - - MYSQL_ROOT_PASSWORD=roundcube-mysql-pw - - MYSQL_DATABASE=roundcubemail + - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD} + - MYSQL_DATABASE=${MYSQL_DATABASE} + roundcubemail: image: roundcube/roundcubemail:1.6.9-apache container_name: roundcubemail restart: unless-stopped depends_on: - roundcubedb - links: - - roundcubedb volumes: - - ./www:/var/www/html + - ${WWW_DATA_PATH}:/var/www/html ports: - - 10.0.0.1:9001:80 - environment: - - ROUNDCUBEMAIL_DB_TYPE=mysql - - ROUNDCUBEMAIL_DB_HOST=roundcubedb - - ROUNDCUBEMAIL_DB_PASSWORD=roundcube-mysql-pw - - ROUNDCUBEMAIL_SKIN=elastic - - ROUNDCUBEMAIL_DEFAULT_HOST=tls://mail.adjutor.xyz - - ROUNDCUBEMAIL_SMTP_SERVER=tls://mail.adjutor.xyz -networks: {} + - 10.0.0.1:${ROUNDCUBE_PORT}:80 + env_file: + - .env -### Optional: add a full mail server stack to use with Roundcube like https://github.com/docker-mailserver/docker-mailserver -# mailserver: -# image: mailserver/docker-mailserver:14.0.0 -# hostname: mail.example.org -# ... # for more options see https://github.com/docker-mailserver/docker-mailserver#examples +networks: {} +... |