mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-05-19 13:57:18 -04:00
Merge pull request #393 from lanedirt/391-download-letsencrypt-docker-compose-yml-file-for-quick-install
Add static docker compose network name
This commit is contained in:
@@ -16,6 +16,8 @@ services:
|
||||
restart: always
|
||||
env_file:
|
||||
- .env
|
||||
networks:
|
||||
- aliasvault
|
||||
|
||||
client:
|
||||
image: ghcr.io/lanedirt/aliasvault-client:latest
|
||||
@@ -26,6 +28,8 @@ services:
|
||||
restart: always
|
||||
env_file:
|
||||
- .env
|
||||
networks:
|
||||
- aliasvault
|
||||
|
||||
api:
|
||||
image: ghcr.io/lanedirt/aliasvault-api:latest
|
||||
@@ -38,6 +42,8 @@ services:
|
||||
env_file:
|
||||
- .env
|
||||
restart: always
|
||||
networks:
|
||||
- aliasvault
|
||||
|
||||
admin:
|
||||
image: ghcr.io/lanedirt/aliasvault-admin:latest
|
||||
@@ -50,6 +56,8 @@ services:
|
||||
restart: always
|
||||
env_file:
|
||||
- .env
|
||||
networks:
|
||||
- aliasvault
|
||||
|
||||
smtp:
|
||||
image: ghcr.io/lanedirt/aliasvault-smtp:latest
|
||||
@@ -62,7 +70,9 @@ services:
|
||||
env_file:
|
||||
- .env
|
||||
restart: always
|
||||
networks:
|
||||
- aliasvault
|
||||
|
||||
networks:
|
||||
aliasvault:
|
||||
name: aliasvault_default
|
||||
name: aliasvault_network
|
||||
|
||||
@@ -760,7 +760,7 @@ configure_letsencrypt() {
|
||||
# Request certificate using a temporary certbot container
|
||||
printf "${CYAN}> Requesting Let's Encrypt certificate...${NC}\n"
|
||||
docker run --rm \
|
||||
--network aliasvault_default \
|
||||
--network aliasvault_network \
|
||||
-v ./certificates/letsencrypt:/etc/letsencrypt:rw \
|
||||
-v ./certificates/letsencrypt/www:/var/www/certbot:rw \
|
||||
certbot/certbot certonly \
|
||||
|
||||
Reference in New Issue
Block a user