aaaaaaaaaaaaaaaaaaaaaaaaaaaaaasdsadaas

This commit is contained in:
root 2024-09-03 23:41:43 -04:00
parent 2cf6e7f8e5
commit 719d67674a
3 changed files with 58 additions and 0 deletions

View 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:

View file

@ -1,6 +1,7 @@
services:
peertube:
image: chocobozzz/peertube:production-bookworm
container_name: peertube
# build:
# context: .
# args:
@ -26,6 +27,7 @@ services:
redis:
image: valkey/valkey:7.2-alpine
container_name: peertube-valkey
volumes:
- ./docker-volume/redis:/data
restart: "always"

View 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: