From 93e395fded3b33409cbdbe326cdaf6181388748b Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 6 Apr 2026 22:19:00 +0200 Subject: [PATCH] =?UTF-8?q?remove=20.env=20=E2=80=94=20inline=20envs=20in?= =?UTF-8?q?=20compose?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 7 ------- .gitignore | 1 - docker-compose.yml | 3 ++- 3 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 .env.example diff --git a/.env.example b/.env.example deleted file mode 100644 index 8849cba..0000000 --- a/.env.example +++ /dev/null @@ -1,7 +0,0 @@ -# URL of Caddy's admin API — must be accessible from the KonCad container -# Use the service name as hostname when both run in the same compose stack -CADDY_ADMIN_URL=http://caddy:2019 - -# Path to the Caddyfile inside the KonCad container -# Should match the volume mount path (default Caddy path) -CADDYFILE_PATH=/etc/caddy/Caddyfile diff --git a/.gitignore b/.gitignore index db69bb7..56aa767 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ -.env caddy/Caddyfile deploy.sh diff --git a/docker-compose.yml b/docker-compose.yml index 7ce944f..1278980 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -21,7 +21,8 @@ services: - "8080:80" volumes: - ./caddy:/etc/caddy - env_file: .env + environment: + CADDY_ADMIN_URL: http://caddy:2019 depends_on: - caddy