aaaaaaaaaaaaaaaaaaaaaaaaaaaaaasdsadaas
This commit is contained in:
parent
2cf6e7f8e5
commit
719d67674a
3 changed files with 58 additions and 0 deletions
29
forgejo-runner/docker-compose.yml
Normal file
29
forgejo-runner/docker-compose.yml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
services:
|
||||||
|
docker-in-docker:
|
||||||
|
image: docker:dind
|
||||||
|
container_name: 'forgejo-dind'
|
||||||
|
privileged: 'true'
|
||||||
|
command: ['dockerd', '-H', 'tcp://0.0.0.0:2375', '--tls=false']
|
||||||
|
restart: 'unless-stopped'
|
||||||
|
|
||||||
|
forgejo-runner:
|
||||||
|
image: 'code.forgejo.org/forgejo/runner:3.5.1'
|
||||||
|
container_name: 'forgejo-runner'
|
||||||
|
links:
|
||||||
|
- docker-in-docker
|
||||||
|
depends_on:
|
||||||
|
docker-in-docker:
|
||||||
|
condition: service_started
|
||||||
|
# user: 1001:1001
|
||||||
|
environment:
|
||||||
|
DOCKER_HOST: tcp://docker-in-docker:2375
|
||||||
|
volumes:
|
||||||
|
- ./data:/data
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
restart: 'unless-stopped'
|
||||||
|
privileged: 'true'
|
||||||
|
command: '/bin/sh -c "sleep 5; forgejo-runner daemon"'
|
||||||
|
# command: '/bin/sh -c "while : ; do sleep 1 ; done ;"'
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
forgejo-runner-data:
|
|
@ -1,6 +1,7 @@
|
||||||
services:
|
services:
|
||||||
peertube:
|
peertube:
|
||||||
image: chocobozzz/peertube:production-bookworm
|
image: chocobozzz/peertube:production-bookworm
|
||||||
|
container_name: peertube
|
||||||
# build:
|
# build:
|
||||||
# context: .
|
# context: .
|
||||||
# args:
|
# args:
|
||||||
|
@ -26,6 +27,7 @@ services:
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: valkey/valkey:7.2-alpine
|
image: valkey/valkey:7.2-alpine
|
||||||
|
container_name: peertube-valkey
|
||||||
volumes:
|
volumes:
|
||||||
- ./docker-volume/redis:/data
|
- ./docker-volume/redis:/data
|
||||||
restart: "always"
|
restart: "always"
|
||||||
|
|
27
privatebin/docker-compose.yml
Normal file
27
privatebin/docker-compose.yml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
services:
|
||||||
|
privatebin:
|
||||||
|
image: privatebin/nginx-fpm-alpine:latest
|
||||||
|
container_name: privatebin
|
||||||
|
user: "65534:82"
|
||||||
|
read_only: false # not in compose 3.0 documentation but appears supported based
|
||||||
|
# on issues for docker compose in Github
|
||||||
|
volumes:
|
||||||
|
- privatebin-data:/srv/data # data volume for pastes allows pastes
|
||||||
|
# to persist after container stop or restart
|
||||||
|
- './cfg:/srv/cfg:ro' # second volume for custom configuration file
|
||||||
|
ports:
|
||||||
|
# To update: Be sure to use a reverse proxy for HTTPS termination
|
||||||
|
# in front of it for production environments.
|
||||||
|
# ie, The Nginx setup supports only HTTP, so make sure that you run
|
||||||
|
# another webserver as reverse proxy in front of this for HTTPS
|
||||||
|
#offloading and reducing the attack surface on your TLS stack. The
|
||||||
|
# Nginx in this image is set up to deflate/gzip text content.
|
||||||
|
- 10002:8080
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
name: privatebin
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
privatebin-data:
|
Loading…
Reference in a new issue