first commit

This commit is contained in:
julien 2025-01-14 18:22:17 +01:00
commit 8b9b0b5bf3
4 changed files with 52 additions and 0 deletions

15
.env Normal file
View File

@ -0,0 +1,15 @@
MYSQL_USER=roundcube
MYSQL_DATABASE=roundcube
#MYSQL_PASSWORD=
#MYSQL_ROOT_PASSWORD=
ROUNDCUBEMAIL_DB_TYPE=mysql
ROUNDCUBEMAIL_DB_HOST=webmailnetignet_mariadb
ROUNDCUBEMAIL_DB_USER=roundcube
#ROUNDCUBEMAIL_DB_PASSWORD=
ROUNDCUBEMAIL_DB_NAME=roundcube
ROUNDCUBEMAIL_SKIN=elastic
ROUNDCUBEMAIL_DEFAULT_HOST=tls://mail.netig.net
ROUNDCUBEMAIL_SMTP_SERVER=tls://mail.netig.net
ROUNDCUBEMAIL_UPLOAD_MAX_FILESIZE=25M
#ROUNDCUBEMAIL_PLUGINS=

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
volumes/

1
README.md Normal file
View File

@ -0,0 +1 @@
# webmail.netig.net

35
compose.yml Normal file
View File

@ -0,0 +1,35 @@
services:
mariadb:
image: mariadb:latest
container_name: webmailnetignet_mariadb
networks:
- mailserver
env_file:
- .env
- ../passwords/webmailnetignet.pass
volumes:
- ./volumes/mysql:/var/lib/mysql
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
start_period: 10s
interval: 10s
timeout: 5s
retries: 3
roundcube:
image: roundcube/roundcubemail:latest
container_name: webmailnetignet_roundcube
networks:
- mailserver
depends_on:
- mariadb
env_file:
- .env
- ../passwords/webmailnetignet.pass
ports:
- "127.0.0.1:9001:80"
volumes:
- ./volumes/www:/var/www/html
restart: unless-stopped
networks:
mailserver:
external: true