From bd52dc4688f30ddb381062b673e42df75c3049f4 Mon Sep 17 00:00:00 2001 From: Kofal Date: Sat, 28 Feb 2026 01:07:18 -0600 Subject: [PATCH] Update docker-compose.yml added &env and *env entries instead of using .env.web --- docker-compose.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 2f57898..da25bd9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,6 +5,13 @@ services: database: image: docker.io/mongo restart: always + environment: &env + - HOSTNAME=https://chat.kofal.net + - REVOLT_PUBLIC_URL=https://chat.kofal.net/api + - VITE_API_URL=https://chat.kofal.net/api + - VITE_WS_URL=wss://chat.kofal.net/ws + - VITE_MEDIA_URL=https://chat.kofal.net/autumn + - VITE_PROXY_URL=https://chat.kofal.net/january volumes: - ./data/db:/data/db healthcheck: @@ -62,10 +69,10 @@ services: caddy: image: docker.io/caddy restart: always - env_file: .env + environment: *env ports: - - "80:80" - - "443:443" + - "8880:80" + - "4443:443" volumes: - ./Caddyfile:/etc/caddy/Caddyfile - ./data/caddy-data:/data @@ -211,4 +218,4 @@ services: web: image: ghcr.io/stoatchat/for-web:addb6b7 restart: always - env_file: .env \ No newline at end of file + environment: *env \ No newline at end of file