update docker-compose and .env

This commit is contained in:
Ruben Fiszel
2023-05-24 11:40:50 +02:00
parent e9e4fa0a6d
commit f72b86b8ea
2 changed files with 4 additions and 4 deletions
+1 -2
View File
@@ -3,5 +3,4 @@ DB_PASSWORD=changeme
# this is the url that your instance is publicly exposed to
WM_BASE_URL=http://localhost
# this is the addres caddy will listen on
CADDY_REVERSE_PROXY=":80"
# To use another port than :80, setup the Caddyfile and the caddy section of the docker-compose to your needs: https://caddyserver.com/docs/getting-started
+3 -2
View File
@@ -72,13 +72,14 @@ services:
caddy:
image: caddy:2.5.2-alpine
restart: unless-stopped
# Configure the mounted Caddyfile and the exposed ports or use another reverse proxy if needed
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
ports:
- 80:80
- 443:443
environment:
- BASE_URL=${CADDY_REVERSE_PROXY}
- BASE_URL=":80"
volumes:
db_data: null