Fix typo in env var

This commit is contained in:
Manuel 2022-08-28 17:04:43 +02:00
parent 3d8657c5b5
commit f3a7c6de4a
Signed by: Manuel
GPG key ID: 4085037435E1F07A
2 changed files with 3 additions and 3 deletions

View file

@ -16,8 +16,8 @@ services:
container_name: caddy container_name: caddy
ports: ports:
- ${CADDY_HTTP:-80}:80 - ${CADDY_HTTP:-80}:80
- ${CADDY_HTTPs:-443}:443 - ${CADDY_HTTPS:-443}:443
- ${CADDY_HTTPs:-443}:443/udp # HTTP/3 - ${CADDY_HTTPS:-443}:443/udp # HTTP/3
volumes: volumes:
- ./caddy/data:/data - ./caddy/data:/data
- ./caddy/Caddyfile:/etc/caddy/Caddyfile - ./caddy/Caddyfile:/etc/caddy/Caddyfile

View file

@ -11,7 +11,7 @@ read -e -p "Domain Guacamole should be served on [localhost]: " DOMAIN
DOMAIN=${DOMAIN:-localhost} DOMAIN=${DOMAIN:-localhost}
sed -i "s/localhost/$DOMAIN/g" caddy/Caddyfile sed -i "s/localhost/$DOMAIN/g" caddy/Caddyfile
echo "Preparing folder guacamole/init and creating guacamole/init/initdb.sql" echo -n "Preparing folder guacamole/init and creating guacamole/init/initdb.sql ..."
mkdir -p ./guacamole/init mkdir -p ./guacamole/init
chmod -R +x ./guacamole/init chmod -R +x ./guacamole/init
docker run --rm guacamole/guacamole /opt/guacamole/bin/initdb.sh --postgres > ./guacamole/init/initdb.sql docker run --rm guacamole/guacamole /opt/guacamole/bin/initdb.sh --postgres > ./guacamole/init/initdb.sql