app-store/apps/moneroblock/docker-compose.yml

39 lines
1.7 KiB
YAML
Raw Normal View History

2022-09-12 17:40:34 +00:00
version: "3.7"
services:
moneroblock:
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:
# 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
# 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