You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
roundcube/docker-compose.yml

59 lines
1.4 KiB

version: '3'
volumes:
roundcubemail:
services:
roundcubephp:
user: ${USER_GROUP}
image: registry.sindominio.net/roundcube
# build: .
restart: always
volumes:
- roundcubemail:/roundcubemail
- ./conf/config.php.inc.sample:/roundcubemail/config/config.inc.php
- ./data/logs:/roundcubemail/logs
#- ./data/temp:/roundcubemail/temp
#- ./data/db:/roundcubemail/db
environment:
- RC_DB_TYPE
- RC_DB_HOST
- RC_DB_NAME
- RC_DB_USER
- RC_DB_PASSWORD
# IMAP
- RC_DEFAULT_HOST
- RC_DEFAULT_PORT
# SMTP
- RC_SMTP_SERVER
- RC_SMTP_PORT
- RC_SMTP_USER
- RC_SMTP_PASS
# OPTIONS
- RC_SUPPORT_URL
- RC_PRODUCT_NAME
- RC_MAIL_DOMAIN
- RC_SKIN
nginx:
user: ${USER_GROUP}
image: registry.sindominio.net/nginx
restart: always
links:
- roundcubephp
ports:
- "0.0.0.0:${WWW_PORT}:8080"
volumes:
- ./conf/roundcube.nginx.conf:/etc/nginx/sites-enabled/default:ro
- ./conf/nginx.conf.sample:/etc/nginx/nginx.conf:ro
- roundcubemail:/roundcubemail
# db:
# image: mariadb
# user: ${USER_GROUP}
# restart: always
# volumes:
# - ./data/db:/var/lib/mysql
# environment:
# MYSQL_DATABASE: ${RC_DB_NAME}
# MYSQL_USER: ${RC_DB_USER}
# MYSQL_PASSWORD: ${RC_DB_PASSWORD}
# MYSQL_RANDOM_ROOT_PASSWORD: '1'