fix: add custom dns to hollo service
the service resolve the internal IP of the VM so the federation didn't work
This commit is contained in:
parent
e87e6521a6
commit
43bcb0ce1a
2 changed files with 58 additions and 1 deletions
|
|
@ -3,6 +3,11 @@ services:
|
|||
image: ghcr.io/fedify-dev/hollo:canary
|
||||
env_file:
|
||||
- .env
|
||||
networks:
|
||||
- default
|
||||
- reverse_proxy
|
||||
dns:
|
||||
- 1.1.1.1
|
||||
deploy:
|
||||
rollback_config:
|
||||
failure_action: continue
|
||||
|
|
@ -15,7 +20,7 @@ services:
|
|||
- node.labels.services_kind==${SERVICE_KIND:-common}
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.hollo.rule=Host(`hollo.alecodes.page`)
|
||||
- traefik.http.routers.hollo.rule=Host(`fedi.alecodes.page`)
|
||||
- traefik.http.services.hollo.loadbalancer.server.port=3000
|
||||
|
||||
hollo_db:
|
||||
|
|
@ -35,6 +40,29 @@ services:
|
|||
placement:
|
||||
constraints:
|
||||
- node.labels.services_kind==${SERVICE_KIND:-common}
|
||||
phanpy:
|
||||
image: ghcr.io/yitsushi/phanpy-docker:2024.04.04.65d51b0
|
||||
networks:
|
||||
- reverse_proxy
|
||||
deploy:
|
||||
labels:
|
||||
- "homepage.group=Social"
|
||||
- "homepage.icon=/icons/phanpy.png"
|
||||
- "homepage.name=Phanpy"
|
||||
- "homepage.href=https://phanpy.alecodes.page/"
|
||||
- "homepage.description=Alternative Mastodon Web Client"
|
||||
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.hollo-ui.rule=Host(`phanpy.alecodes.page`)
|
||||
- traefik.http.services.hollo-ui.loadbalancer.server.port=80
|
||||
|
||||
networks:
|
||||
phanpy-network:
|
||||
driver: bridge
|
||||
|
||||
volumes:
|
||||
hollo_db:
|
||||
|
||||
networks:
|
||||
reverse_proxy:
|
||||
external: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue