Added forgejo runner
This commit is contained in:
parent
2e08e16904
commit
a897c26dff
2 changed files with 33 additions and 5 deletions
|
|
@ -9,6 +9,29 @@ services:
|
|||
- /mertz/forgejo:/data
|
||||
networks:
|
||||
- barrios-network
|
||||
forgejo-runner:
|
||||
build: ./forgejo
|
||||
container_name: forgejo-runner
|
||||
volumes:
|
||||
- /mertz/forgejo/forgejo-runner:/data
|
||||
depends_on:
|
||||
- forgejo
|
||||
environment:
|
||||
- RUNNER_TOKEN=${RUNNER_TOKEN}
|
||||
networks:
|
||||
- barrios-network
|
||||
command: /bin/sh -c '
|
||||
if [ ! -f .runner ]; then
|
||||
forgejo-runner register
|
||||
--instance http://forgejo:3000
|
||||
--token $$RUNNER_TOKEN
|
||||
--name applyaway-runner
|
||||
--labels "ubuntu-latest:host"
|
||||
--no-interactive ;
|
||||
forgejo-runner generate-config > config.yml ;
|
||||
fi ;
|
||||
forgejo-runner daemon --config config.yml
|
||||
'
|
||||
jellyfin:
|
||||
image: jellyfin/jellyfin
|
||||
container_name: jellyfin
|
||||
|
|
@ -141,9 +164,9 @@ services:
|
|||
volumes:
|
||||
- /mertz/alloro/data:/data
|
||||
environment:
|
||||
- ASPNETCORE_ENVIRONMENT=Development
|
||||
- ASPNETCORE_ENVIRONMENT=Development
|
||||
- ConnectionStrings__ConnectionString=Data Source=/data/Alloro.db
|
||||
restart: unless-stopped
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- barrios-network
|
||||
|
||||
|
|
@ -155,14 +178,14 @@ services:
|
|||
- "53:53/udp"
|
||||
- "8081:80/tcp" # Web UI
|
||||
environment:
|
||||
TZ: 'America/Toronto'
|
||||
TZ: "America/Toronto"
|
||||
FTLCONF_webserver_api_password: ${PIHOLE_PASSWORD}
|
||||
FTLCONF_dns_listeningMode: 'ALL'
|
||||
FTLCONF_dns_listeningMode: "ALL"
|
||||
volumes:
|
||||
- /mertz/pihole/etc-pihole:/etc/pihole
|
||||
- /mertz/pihole/etc-dnsmasq.d:/etc/dnsmasq.d
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- barrios-network
|
||||
- barrios-network
|
||||
networks:
|
||||
barrios-network:
|
||||
|
|
|
|||
5
forgejo/Dockerfile
Normal file
5
forgejo/Dockerfile
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
FROM data.forgejo.org/forgejo/runner:12
|
||||
|
||||
USER root
|
||||
RUN apk add --no-cache python3 nodejs
|
||||
USER 1000:1000
|
||||
Loading…
Reference in a new issue