nochmal Compose
This commit is contained in:
parent
81f0f1ad01
commit
4b0d8e0254
|
|
@ -1,6 +0,0 @@
|
||||||
FROM caddy:alpine
|
|
||||||
|
|
||||||
# Statische Dateien der Leaflet-Map ins Standard-Webroot von Caddy kopieren
|
|
||||||
COPY index.html /usr/share/caddy/index.html
|
|
||||||
COPY markers.js /usr/share/caddy/markers.js
|
|
||||||
COPY tiles /usr/share/caddy/tiles
|
|
||||||
|
|
@ -5,14 +5,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "2001:80"
|
- "2001:80"
|
||||||
volumes:
|
volumes:
|
||||||
- ./index.html:/usr/share/caddy/index.html
|
- .:/usr/share/caddy
|
||||||
- ./tiles:/usr/share/caddy/tiles
|
- ./Caddyfile:/etc/caddy/Caddyfile
|
||||||
- ./markers.js:/usr/share/caddy/markers.js
|
|
||||||
command: |
|
|
||||||
caddy run --config /etc/caddy/Caddyfile --adapter caddyfile
|
|
||||||
config:
|
|
||||||
Caddyfile: |
|
|
||||||
:80 {
|
|
||||||
root * /usr/share/caddy
|
|
||||||
file_server
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user