forked from aAXEe/tiles-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
29 lines (27 loc) · 1.04 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
version: '3.5'
services:
seamark:
image: ghcr.io/openseamap/seamark:v1.0
build: ./src
hostname: seamark
restart: unless-stopped
networks:
- proxy
volumes:
- /var/data/tiles:/data
labels:
- "traefik.enable=true"
- "traefik.http.routers.seamark.entrypoints=http"
- "traefik.http.routers.seamark.rule=Host(`t1.openseamap.org`,`tiles.openseamap.org`)"
- "traefik.http.middlewares.seamark-https-redirect.redirectscheme.scheme=https"
- "traefik.http.routers.seamark.middlewares=seamark-https-redirect"
- "traefik.http.routers.seamark-secure.entrypoints=https"
- "traefik.http.routers.seamark-secure.rule=Host(`t1.openseamap.org`,`tiles.openseamap.org`)"
- "traefik.http.routers.seamark-secure.tls=true"
- "traefik.http.routers.seamark-secure.tls.certresolver=http"
- "traefik.http.routers.seamark-secure.service=seamark"
- "traefik.http.services.seamark.loadbalancer.server.port=80"
- "traefik.docker.network=proxy"
networks:
proxy:
external: true