mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-23 04:03:49 +00:00
bf1d08c8cc
- [x] setup infra - [x] provide readme - [x] setup secrets (keys) for infra - [x] resolve todos - [x] remove unnecessary test actions triggers - [x] update go path (should be installed on runner properly - unlike my self hosted quick setup) - [x] provide docs on using checksum and signature to verify the binary
43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
traefik:
|
|
image: traefik:latest
|
|
restart: always
|
|
command:
|
|
- "--providers.docker=true"
|
|
- "--providers.docker.exposedbydefault=false"
|
|
- "--entrypoints.web.address=:80"
|
|
- "--entrypoints.websecure.address=:443"
|
|
- "--certificatesresolvers.letsencrypt.acme.email=max.revitt@gateway.fm"
|
|
- "--certificatesresolvers.letsencrypt.acme.storage=/letsencrypt/acme.json"
|
|
- "--certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=web"
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
|
- "./letsencrypt:/letsencrypt"
|
|
networks:
|
|
- traefik
|
|
|
|
download:
|
|
image: thorax/download:latest
|
|
restart: always
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.docker.network=traefik"
|
|
- "traefik.frontend.rule=Host:download.erigon.ch"
|
|
- "traefik.frontend.redirect.entryPoint=https"
|
|
- "traefik.http.routers.app.rule=Host(`download.erigon.ch`)"
|
|
- "traefik.http.routers.app.entrypoints=web,websecure"
|
|
- "traefik.http.routers.app.tls=true"
|
|
- "traefik.http.routers.app.tls.certresolver=letsencrypt"
|
|
- "traefik.http.services.app.loadbalancer.server.port=80"
|
|
networks:
|
|
- traefik
|
|
|
|
networks:
|
|
traefik:
|
|
name: traefik
|