Remove compose port mapping and document network env
Publish Docker image / build (push) Failing after 39s
Publish Docker image / build (push) Failing after 39s
This commit is contained in:
1 parent
8464c4fb4e
commit
2a91ccc110
2 files changed
+9
-5
No files matched your search
@@ -25,15 +25,16 @@ services:
|
||||
koncad:
|
||||
image: git.d4nn13.de/d4nn13/koncad:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8080:80"
|
||||
volumes:
|
||||
- koncad_data:/data
|
||||
- /opt/caddy:/caddy:ro
|
||||
environment:
|
||||
# Caddy admin API reachable on the shared Docker network.
|
||||
CADDY_ADMIN_URL: http://caddy:2019
|
||||
# Read-only source Caddyfile from your existing Caddy setup.
|
||||
CADDYFILE_IMPORT: /caddy/Caddyfile
|
||||
networks:
|
||||
# Join the same external Docker network as your Caddy container.
|
||||
- caddy-network
|
||||
|
||||
volumes:
|
||||
@@ -41,6 +42,7 @@ volumes:
|
||||
|
||||
networks:
|
||||
caddy-network:
|
||||
# Use the pre-existing network your Caddy container already uses.
|
||||
external: true
|
||||
```
|
||||
|
||||
@@ -65,7 +67,7 @@ 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.
|
||||
|
||||
|
||||
Reference in new issue
Block a user