set default compose file to dockerhub upstream, but keep optional local builder

pull/1/head
lza_menace 4 years ago
parent 61b3efc0bf
commit feeec30249

@ -0,0 +1,43 @@
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
# --api.dashboard=true
# --api.insecure=true
--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
wownerod:
build:
context: .
volumes:
- ./data/daemon:/data
command:
wownerod --data-dir=/data --rpc-bind-ip=0.0.0.0 --confirm-external-bind --non-interactive --public-node --restricted-rpc
ports:
- 34568:34568
labels:
- "traefik.http.routers.https.rule=Host(`${DAEMON_HOSTNAME}`)"
- "traefik.http.routers.http.rule=Host(`${DAEMON_HOSTNAME}`)"
- "traefik.http.routers.https.entrypoints=https"
- "traefik.http.routers.http.entrypoints=http"
- "traefik.http.routers.https.tls=true"
- "traefik.http.routers.https.tls.certresolver=letsencrypt"
ports:
- "8000:8000"

@ -5,13 +5,14 @@ services:
command: command:
# Try to enable this if something isn't working. Chances are, Traefik will tell you why # 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 # Be careful on production as it exposes the traffic you might not want to expose
# --log.level=DEBUG #--log.level=DEBUG
# --api.dashboard=true # --api.dashboard=true
# --api.insecure=true # --api.insecure=true
--entrypoints.http.address=:80 --entrypoints.http.address=:80
--entrypoints.https.address=:443 --entrypoints.https.address=:443
--providers.docker=true --providers.docker=true
--api=false
--certificatesresolvers.letsencrypt.acme.httpchallenge=true --certificatesresolvers.letsencrypt.acme.httpchallenge=true
--certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=http --certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=http
--certificatesresolvers.letsencrypt.acme.email=${ACME_EMAIL} --certificatesresolvers.letsencrypt.acme.email=${ACME_EMAIL}
@ -19,23 +20,23 @@ services:
ports: ports:
- 80:80 - 80:80
- 443:443 - 443:443
# - 8080:8080
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- ./data/letsencrypt:/letsencrypt - ./data/letsencrypt:/letsencrypt
wownerod: wownerod:
build: image: lalanza808/wownero:latest
context: .
volumes: volumes:
- ./data:/data - ./data/daemon:/data
command: command:
wownerod --data-dir=/data --rpc-bind-ip=0.0.0.0 --confirm-external-bind --non-interactive wownerod --data-dir=/data --rpc-bind-ip=0.0.0.0 --confirm-external-bind --non-interactive --public-node --restricted-rpc
ports:
- 34568:34568
labels: labels:
- "traefik.http.routers.http.rule=Host(`${URL}`)" - "traefik.http.routers.https.rule=Host(`${DAEMON_HOSTNAME}`)"
- "traefik.http.routers.http.rule=Host(`${DAEMON_HOSTNAME}`)"
- "traefik.http.routers.https.entrypoints=https"
- "traefik.http.routers.http.entrypoints=http" - "traefik.http.routers.http.entrypoints=http"
# - "traefik.http.routers.https.rule=Host(`localhost:8000`)" - "traefik.http.routers.https.tls=true"
# - "traefik.http.routers.https.entrypoints=https" - "traefik.http.routers.https.tls.certresolver=letsencrypt"
# - "traefik.http.routers.https.tls=true"
# - "traefik.http.routers.https.tls.certresolver=letsencrypt"
ports: ports:
- "34568:34568" - 8000:8000

Loading…
Cancel
Save