Remove compose port mapping and document network env
Publish Docker image / build (push) Failing after 39s

This commit is contained in:
Daniel committed 2026-05-03 18:34:38 +02:00
1 parent 8464c4fb4e
commit 2a91ccc110
2 files changed
+9 -5

No files matched your search

+5 -3
View File
@@ -25,15 +25,16 @@ services:
koncad: koncad:
image: git.d4nn13.de/d4nn13/koncad:latest image: git.d4nn13.de/d4nn13/koncad:latest
restart: unless-stopped restart: unless-stopped
ports:
- "8080:80"
volumes: volumes:
- koncad_data:/data - koncad_data:/data
- /opt/caddy:/caddy:ro - /opt/caddy:/caddy:ro
environment: environment:
# Caddy admin API reachable on the shared Docker network.
CADDY_ADMIN_URL: http://caddy:2019 CADDY_ADMIN_URL: http://caddy:2019
# Read-only source Caddyfile from your existing Caddy setup.
CADDYFILE_IMPORT: /caddy/Caddyfile CADDYFILE_IMPORT: /caddy/Caddyfile
networks: networks:
# Join the same external Docker network as your Caddy container.
- caddy-network - caddy-network
volumes: volumes:
@@ -41,6 +42,7 @@ volumes:
networks: networks:
caddy-network: caddy-network:
# Use the pre-existing network your Caddy container already uses.
external: true external: true
``` ```
@@ -65,7 +67,7 @@ docker compose up -d
docker compose pull && docker compose up -d docker compose pull && docker compose up -d
``` ```
KonCad is available at `http://<host>:8080`. Expose KonCad through your existing Caddy setup on the shared Docker network.
On first load it imports your existing Caddyfile (read-only). After the first deploy, KonCad manages its own copy. On first load it imports your existing Caddyfile (read-only). After the first deploy, KonCad manages its own copy.
+4 -2
View File
@@ -3,15 +3,16 @@ services:
koncad: koncad:
image: git.d4nn13.de/d4nn13/koncad:latest image: git.d4nn13.de/d4nn13/koncad:latest
restart: unless-stopped restart: unless-stopped
ports:
- "8080:80"
volumes: volumes:
- koncad_data:/data - koncad_data:/data
- /opt/caddy:/caddy:ro - /opt/caddy:/caddy:ro
environment: environment:
# Caddy admin API reachable on the shared Docker network.
CADDY_ADMIN_URL: http://caddy:2019 CADDY_ADMIN_URL: http://caddy:2019
# Read-only source Caddyfile from your existing Caddy setup.
CADDYFILE_IMPORT: /caddy/Caddyfile CADDYFILE_IMPORT: /caddy/Caddyfile
networks: networks:
# Join the same external Docker network as your Caddy container.
- caddy-network - caddy-network
volumes: volumes:
@@ -19,4 +20,5 @@ volumes:
networks: networks:
caddy-network: caddy-network:
# Use the pre-existing network your Caddy container already uses.
external: true external: true