mirror of
https://github.com/runyanjake/olomana.git
synced 2025-10-04 13:27:28 -07:00
Fixed all that traefik configuration stuff. Manual disable of traefik in the containers that don't use it.
This commit is contained in:
parent
ba8c7a4206
commit
2fb49d6ff4
@ -36,7 +36,8 @@ Also modify the following:
|
||||
|
||||
Then start containers again.
|
||||
|
||||
5. Go to xxx.xxx.xx.xxx:3300 and fill out initial config.
|
||||
5. Go to xxx.xxx.xx.xxx:3300 and fill out initial config. Everything should match up to default values.
|
||||
|
||||
|
||||
Some things that were weird:
|
||||
|
||||
|
@ -35,7 +35,7 @@ services:
|
||||
- traefik.http.routers.gitea.rule=Host(`[[SITE_URL]]`)
|
||||
- traefik.http.routers.gitea.tls=true
|
||||
- traefik.http.routers.gitea.tls.certresolver=lets-encrypt
|
||||
- traefik.http.services.gitea.loadbalancer.server.port=3000
|
||||
- traefik.http.services.gitea.loadbalancer.server.port=[[HOST_PORT]]
|
||||
- traefik.port=[[HOST_PORT]]
|
||||
|
||||
database:
|
||||
|
@ -30,7 +30,7 @@ services:
|
||||
- traefik.http.routers.grafana.rule=Host(`[[SITE_URL]]`)
|
||||
- traefik.http.routers.grafana.tls=true
|
||||
- traefik.http.routers.grafana.tls.certresolver=lets-encrypt
|
||||
- traefik.http.services.grafana.loadbalancer.server.port=3000
|
||||
- traefik.http.services.grafana.loadbalancer.server.port=[[HOST_PORT]]
|
||||
- traefik.port=[[HOST_PORT]]
|
||||
depends_on:
|
||||
- node_exporter
|
||||
|
@ -1,16 +1,16 @@
|
||||
version: "3"
|
||||
|
||||
networks:
|
||||
traefik-network:
|
||||
traefik_traefik-network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
|
||||
traefik:
|
||||
image: traefik:v2.9
|
||||
container_name: traefik
|
||||
restart: always
|
||||
networks:
|
||||
- traefik-network
|
||||
- traefik_traefik-network
|
||||
ports:
|
||||
- 80:80
|
||||
- 8080:8080
|
||||
@ -25,7 +25,7 @@ services:
|
||||
image: traefik/whoami
|
||||
container_name: whoami_traefik
|
||||
networks:
|
||||
- traefik-network
|
||||
- traefik_traefik-network
|
||||
labels:
|
||||
- traefik.http.routers.whoami.rule=Host(`whoami.whitney.rip`)
|
||||
- traefik.http.routers.whoami.tls=true
|
||||
|
Loading…
x
Reference in New Issue
Block a user