You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

38 lines
1.3 KiB

version: '3'
services:
reverse-proxy:
image: traefik:v2.2
command:
# Try to enable this if something isn't working. Chances are, Traefik will tell you why
# Be careful on production as it exposes the traffic you might not want to expose
#--log.level=DEBUG
--entrypoints.http.address=:80
--entrypoints.https.address=:443
--providers.docker=true
--api=false
--certificatesresolvers.letsencrypt.acme.httpchallenge=true
--certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=http
--certificatesresolvers.letsencrypt.acme.email=${ACME_EMAIL}
--certificatesresolvers.letsencrypt.acme.storage=/letsencrypt/acme.json
ports:
- 80:80
- 443:443
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- .data/letsencrypt:/letsencrypt
wownero-explorer:
image: lalanza808/wownero-explorer:latest
command: wownero-explorer
labels:
- "traefik.http.routers.http.rule=Host(`localhost`)"
- "traefik.http.routers.http.entrypoints=http"
# - "traefik.http.routers.https.rule=Host(`localhost:8000`)"
# - "traefik.http.routers.https.entrypoints=https"
# - "traefik.http.routers.https.tls=true"
# - "traefik.http.routers.https.tls.certresolver=letsencrypt"
environment:
DAEMON_URI: ${DAEMON_URI}
ports:
- "8000:8000"