Ensemble des services de KAZ
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.
 
 
 
 
 
 

50 lines
1.1 KiB

version: '3.3'
services:
app:
image: roundcube/roundcubemail
container_name: ${roundcubeServName}
restart: ${restartPolicy}
depends_on:
- db
volumes:
- webmailWeb:/var/www/html
# ports:
# - 8084:80
networks:
roundcubeNet:
postfixNet:
external_links:
- ${smtpServName}:${smtpHost}
environment:
- ROUNDCUBEMAIL_DB_HOST=db
- ROUNDCUBEMAIL_SKIN=elastic
- ROUNDCUBEMAIL_DEFAULT_HOST=ssl://${smtpHost}.${domain}
- ROUNDCUBEMAIL_SMTP_SERVER=${smtpHost}.${domain}
- ROUNDCUBEMAIL_DEFAULT_PORT=993
- ROUNDCUBEMAIL_SMTP_PORT=25
env_file:
- ../../secret/env-${roundcubeServName}
db:
image: mariadb:10.5
container_name: ${roundcubeDBName}
restart: ${restartPolicy}
volumes:
- webmailDB:/var/lib/mysql
env_file:
- ../../secret/env-${roundcubeDBName}
networks:
roundcubeNet:
volumes:
webmailDB:
webmailWeb:
networks:
roundcubeNet:
external: true
name: roundcubeNet
postfixNet:
external: true
name: postfixNet