aboutsummaryrefslogtreecommitdiff
path: root/services/templates/docker-compose.yaml.template
diff options
context:
space:
mode:
Diffstat (limited to 'services/templates/docker-compose.yaml.template')
-rw-r--r--services/templates/docker-compose.yaml.template22
1 files changed, 4 insertions, 18 deletions
diff --git a/services/templates/docker-compose.yaml.template b/services/templates/docker-compose.yaml.template
index 6194c78..b81875b 100644
--- a/services/templates/docker-compose.yaml.template
+++ b/services/templates/docker-compose.yaml.template
@@ -13,13 +13,12 @@ services:
- "443:443"
- "443:443/udp"
env_file:
- - "./@@CRUPEST_GENERATED_DIR@@/envs/nginx.env"
- "./@@CRUPEST_GENERATED_DIR@@/envs/v2ray-common.env"
- "./@@CRUPEST_GENERATED_DIR@@/envs/mail-server-common.env"
volumes:
+ - "./@@CRUPEST_GENERATED_DIR@@/nginx:/etc/nginx/conf.d"
- "./@@CRUPEST_DATA_CERTBOT_DIR@@/certs:/etc/letsencrypt"
- "./@@CRUPEST_DATA_CERTBOT_DIR@@/data:/var/lib/letsencrypt"
- - "./@@CRUPEST_DATA_CERTBOT_DIR@@/webroot:/srv/acme:ro"
- "./@@CRUPEST_DATA_CERTBOT_DIR@@/webroot:/var/www/certbot"
networks:
default:
@@ -80,29 +79,16 @@ services:
env_file:
- "./@@CRUPEST_GENERATED_DIR@@/envs/roundcubemail.env"
volumes:
- - "./@@CRUPEST_DATA_SECRET_DIR@@/gnupg:/gnupg"
+ - "./@@CRUPEST_GENERATED_DIR@@/my-roundcube.inc.php:/var/roundcube/config/my-roundcube.inc.php"
+ - "./@@CRUPEST_DATA_SECRET_DIR@@/gnupg:/var/roundcube/enigma"
- "./@@CRUPEST_DATA_ROUNDCUBE_DIR@@/www/html:/var/www/html"
- "./@@CRUPEST_DATA_ROUNDCUBE_DIR@@/db:/var/roundcube/db"
- - "./@@CRUPEST_DATA_ROUNDCUBE_DIR@@/config:/var/roundcube/config"
- "roundcubemail-temp:/tmp/roundcube-temp"
networks:
default:
ipv4_address: "172.21.5.5"
restart: on-failure:3
- 2fauth:
- image: "2fauth/2fauth"
- pull_policy: always
- hostname: 2fauth
- env_file:
- - "./@@CRUPEST_GENERATED_DIR@@/envs/2fauth.env"
- volumes:
- - "./data/2fauth:/2fauth"
- networks:
- default:
- ipv4_address: "172.21.5.6"
- restart: "on-failure:3"
-
v2ray:
pull_policy: build
build:
@@ -115,7 +101,7 @@ services:
- "./@@CRUPEST_GENERATED_DIR@@/envs/v2ray.env"
networks:
default:
- ipv4_address: "172.21.5.7"
+ ipv4_address: "172.21.5.6"
restart: "on-failure:3"
auto-backup: