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:
|
||||
- "2001:80"
|
||||
volumes:
|
||||
- ./index.html:/usr/share/caddy/index.html
|
||||
- ./tiles:/usr/share/caddy/tiles
|
||||
- ./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
|
||||
}
|
||||
- .:/usr/share/caddy
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user