wownero-explorer/docker-compose.yml

23 lines
595 B
YAML

version: '3'
services:
reverse-proxy:
image: traefik:v2.2
command: --api.insecure=true --providers.docker
ports:
# The HTTP port
- "8080:80"
# The Web UI (enabled by --api.insecure=true)
- "9000:8080"
volumes:
# So that Traefik can listen to the Docker events
- /var/run/docker.sock:/var/run/docker.sock
wownero-explorer:
build:
context: .
dockerfile: Dockerfile
labels:
- "traefik.http.routers.explorer.rule=Host(`localhost:8000`)"
environment:
DAEMON_URI: ${DAEMON_URI}
ports:
- "8000:8000"