commit 8b9b0b5bf3e7717088efc792b61d7a700f480ebb Author: julien Date: Tue Jan 14 18:22:17 2025 +0100 first commit diff --git a/.env b/.env new file mode 100644 index 0000000..012b858 --- /dev/null +++ b/.env @@ -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= diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57d9655 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +volumes/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..40f3b17 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# webmail.netig.net diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..350d9c7 --- /dev/null +++ b/compose.yml @@ -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