mirror of
https://git.wownero.com/lza_menace/wownero-explorer.git
synced 2024-08-15 01:03:26 +00:00
23 lines
595 B
YAML
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"
|