Skip to content

Commit

Permalink
bing bong sing song
Browse files Browse the repository at this point in the history
  • Loading branch information
ilude committed Mar 25, 2024
1 parent 0cca148 commit a9e4ce8
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
3 changes: 2 additions & 1 deletion make.d/install.mk
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ install: build install-docker
REPOS = rmescandon/yq ansible/ansible
MISSING_REPOS := $(foreach repo,$(REPOS),$(if $(shell apt-cache policy | grep $(repo)),,addrepo/$(repo)))

EXECUTABLES = git nano jq yq python3-pip yamllint python3-pathspec ansible software-properties-common
EXECUTABLES = git nano jq yq python3-pip yamllint python3-pathspec ansible
MISSING_PACKAGES := $(foreach exec,$(EXECUTABLES),$(if $(shell dpkg -s "$(exec)" &> /dev/null),,addpackage-$(exec)))

addrepo/%:
sudo apt install software-properties-common -y # fuck you debian
sudo apt-add-repository ppa:$* -y

addpackage-%:
Expand Down
33 changes: 33 additions & 0 deletions services-available/ongoing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
version: '3'

networks:
traefik:
external: true

# description: A self hosted url expander (opposite of url shortener)
# https://github.com/traefikturkey/ongoing

services:
ongoing:
image: ghcr.io/traefikturkey/ongoing:${ONGOING_DOCKER_TAG:-latest}
container_name: ${ONGOING_CONTAINER_NAME:-ongoing}
restart: ${ONGOING_RESTART:-unless-stopped}
networks:
- traefik
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
environment:
- PUID=${PUID:-1000}
- PGID=${PGID:-1000}
- TZ=${TZ}
dns:
- ${ONGOING_DNS_SERVER:-1.1.1.1}
labels:
- joyride.host.name=${ONGOING_CONTAINER_NAME:-ongoing}.${HOST_DOMAIN}
- traefik.enable=true
- traefik.http.routers.ongoing.entrypoints=websecure
- traefik.http.routers.ongoing.rule=Host(`${ONGOING_CONTAINER_NAME:-ongoing}.${HOST_DOMAIN}`)
- traefik.http.services.ongoing.loadbalancer.server.port=9380
- com.centurylinklabs.watchtower.enable=true
- autoheal=true

0 comments on commit a9e4ce8

Please sign in to comment.