2022-09-12 17:40:34 +00:00
|
|
|
version: "3.7"
|
|
|
|
services:
|
|
|
|
moneroblock:
|
2023-03-28 22:14:05 +00:00
|
|
|
image: sethsimmons/moneroblock:v0.1.2
|
2022-09-12 17:40:34 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
container_name: moneroblock
|
|
|
|
ports:
|
|
|
|
- ${APP_PORT}:31312
|
|
|
|
command:
|
|
|
|
- "--daemon"
|
|
|
|
- "${DAEMON_ADDRESS:-node.sethforprivacy.com:18089}"
|
|
|
|
networks:
|
|
|
|
- tipi_main_network
|
|
|
|
labels:
|
2023-06-12 19:58:59 +00:00
|
|
|
# Main
|
|
|
|
traefik.enable: true
|
|
|
|
traefik.http.middlewares.moneroblock-web-redirect.redirectscheme.scheme: https
|
|
|
|
traefik.http.services.moneroblock.loadbalancer.server.port: 31312
|
|
|
|
# Web
|
|
|
|
traefik.http.routers.moneroblock-insecure.rule: Host(`${APP_DOMAIN}`)
|
|
|
|
traefik.http.routers.moneroblock-insecure.entrypoints: web
|
|
|
|
traefik.http.routers.moneroblock-insecure.service: moneroblock
|
|
|
|
traefik.http.routers.moneroblock-insecure.middlewares: moneroblock-web-redirect
|
|
|
|
# Websecure
|
2022-09-12 17:40:34 +00:00
|
|
|
traefik.http.routers.moneroblock.rule: Host(`${APP_DOMAIN}`)
|
|
|
|
traefik.http.routers.moneroblock.entrypoints: websecure
|
|
|
|
traefik.http.routers.moneroblock.service: moneroblock
|
|
|
|
traefik.http.routers.moneroblock.tls.certresolver: myresolver
|
2023-06-12 19:58:59 +00:00
|
|
|
# Local domain
|
|
|
|
traefik.http.routers.moneroblock-local-insecure.rule: Host(`moneroblock.${LOCAL_DOMAIN}`)
|
|
|
|
traefik.http.routers.moneroblock-local-insecure.entrypoints: web
|
|
|
|
traefik.http.routers.moneroblock-local-insecure.service: moneroblock
|
|
|
|
traefik.http.routers.moneroblock-local-insecure.middlewares: moneroblock-web-redirect
|
|
|
|
# Local domain secure
|
|
|
|
traefik.http.routers.moneroblock-local.rule: Host(`moneroblock.${LOCAL_DOMAIN}`)
|
|
|
|
traefik.http.routers.moneroblock-local.entrypoints: websecure
|
|
|
|
traefik.http.routers.moneroblock-local.service: moneroblock
|
|
|
|
traefik.http.routers.moneroblock-local.tls: true
|