hotfix: disable traefik, scale down homepage
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3b36350faf
commit
3020a43ca2
@ -365,7 +365,7 @@ steps:
|
||||
- docker-compose -p ${DRONE_REPO_NAME} up
|
||||
-d
|
||||
--remove-orphans
|
||||
--scale homepage=4
|
||||
--scale homepage=1
|
||||
when:
|
||||
branch: master
|
||||
status: success
|
||||
@ -466,6 +466,6 @@ steps:
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: e3bcd6a356891e46714a6ed2b57a87328c1edb1a6ca5ae40b8e5aab01b67d5de
|
||||
hmac: 2e74203ac7bcec217f8996502277c1440f66258f2659d29074c476a2746b5f31
|
||||
|
||||
...
|
||||
|
@ -2,26 +2,26 @@
|
||||
|
||||
version: '3'
|
||||
services:
|
||||
reverse-proxy:
|
||||
image: docker.io/library/traefik:2.9.6
|
||||
command: --api=false --api.dashboard=false --providers.docker
|
||||
mem_limit: 64m
|
||||
networks:
|
||||
- internal-nw
|
||||
- default
|
||||
ports:
|
||||
- 127.0.0.1:1314:80
|
||||
restart: always
|
||||
volumes:
|
||||
# So that traefik can listen to the Docker events
|
||||
- /run/docker.sock:/var/run/docker.sock:ro
|
||||
healthcheck:
|
||||
# DON'T
|
||||
# test: "/usr/bin/wget -q -Y off http://localhost:80/about -O /dev/null > /dev/null 2>&1"
|
||||
# DO:
|
||||
test: "/usr/bin/wget -q -Y off http://localhost:80/about -O /dev/null 2>&-"
|
||||
interval: 10s
|
||||
retries: 20
|
||||
#reverse-proxy:
|
||||
# image: docker.io/library/traefik:2.9.6
|
||||
# command: --api=false --api.dashboard=false --providers.docker
|
||||
# mem_limit: 64m
|
||||
# networks:
|
||||
# - internal-nw
|
||||
# - default
|
||||
# ports:
|
||||
# - 127.0.0.1:1314:80
|
||||
# restart: always
|
||||
# volumes:
|
||||
# # So that traefik can listen to the Docker events
|
||||
# - /run/docker.sock:/var/run/docker.sock:ro
|
||||
# healthcheck:
|
||||
# # DON'T
|
||||
# # test: "/usr/bin/wget -q -Y off http://localhost:80/about -O /dev/null > /dev/null 2>&1"
|
||||
# # DO:
|
||||
# test: "/usr/bin/wget -q -Y off http://localhost:80/about -O /dev/null 2>&-"
|
||||
# interval: 10s
|
||||
# retries: 20
|
||||
|
||||
homepage:
|
||||
build:
|
||||
@ -29,12 +29,15 @@ services:
|
||||
image: homepage
|
||||
mem_limit: 8m
|
||||
networks:
|
||||
- internal-nw
|
||||
# - internal-nw
|
||||
- default
|
||||
ports:
|
||||
- 127.0.0.1:1314:1314
|
||||
restart: always
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.services.homepage.loadbalancer.server.port=1314
|
||||
- traefik.http.routers.homepage.rule=Host(`localhost`) || Host(`127.0.0.1`) || Host(`homepage`) || Host(`6426tqrh4y5uobmo5y2csaip3m3avmjegd2kpa24sadekpxglbm34aqd.onion`)
|
||||
#labels:
|
||||
# - traefik.enable=true
|
||||
# - traefik.http.services.homepage.loadbalancer.server.port=1314
|
||||
# - traefik.http.routers.homepage.rule=Host(`localhost`) || Host(`127.0.0.1`) || Host(`homepage`) || Host(`6426tqrh4y5uobmo5y2csaip3m3avmjegd2kpa24sadekpxglbm34aqd.onion`)
|
||||
|
||||
logging:
|
||||
driver: json-file
|
||||
|
Loading…
Reference in New Issue
Block a user