added composer caddy
This commit is contained in:
parent
9d571bd1d7
commit
0bd804c45f
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
config/
|
||||||
|
|
||||||
|
.env
|
||||||
|
|
||||||
|
data/
|
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +0,0 @@
|
||||||
[submodule "kontify/kontify"]
|
|
||||||
path = kontify/kontify
|
|
||||||
url = https://github.com/jahir/kontify.git
|
|
|
@ -10,5 +10,5 @@ pipeline:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
username:
|
username:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
dockerfile: ./kontify/Dockerfile
|
dockerfile: ./Container/kontify/Dockerfile
|
||||||
context: ./kontify
|
context: ./Container//kontify
|
7
Composer/caddy/README.MD
Normal file
7
Composer/caddy/README.MD
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# Automatischer Caddy Proxy Server
|
||||||
|
Dieser Server erstellt automatisch Proxy Regeln für Docker Container.
|
||||||
|
Vor dem Start muss der Befehl
|
||||||
|
|
||||||
|
docker network create caddy
|
||||||
|
|
||||||
|
ausgeführt werden.
|
29
Composer/caddy/docker-compose.yml
Normal file
29
Composer/caddy/docker-compose.yml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
version: "3.7"
|
||||||
|
services:
|
||||||
|
caddy:
|
||||||
|
image: lucaslorentz/caddy-docker-proxy
|
||||||
|
ports:
|
||||||
|
- 80:80
|
||||||
|
- 443:443
|
||||||
|
environment:
|
||||||
|
- CADDY_INGRESS_NETWORKS=caddy
|
||||||
|
networks:
|
||||||
|
- caddy
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- caddy_data:/data
|
||||||
|
restart: unless-stopped
|
||||||
|
whoami:
|
||||||
|
image: containous/whoami
|
||||||
|
networks:
|
||||||
|
- caddy
|
||||||
|
labels:
|
||||||
|
caddy: whoami.localhost
|
||||||
|
caddy.reverse_proxy: "{{upstreams 80}}"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
caddy:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
caddy_data: {}
|
48
Composer/woodpecker/docker-compose.yml
Normal file
48
Composer/woodpecker/docker-compose.yml
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
version: '3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
woodpecker-server:
|
||||||
|
image: woodpeckerci/woodpecker-server:next
|
||||||
|
#ports:
|
||||||
|
# - 8000:8000
|
||||||
|
volumes:
|
||||||
|
- woodpecker-server-data:/var/lib/woodpecker/
|
||||||
|
environment:
|
||||||
|
- WOODPECKER_LOG_LEVEL=info
|
||||||
|
- WOODPECKER_OPEN=true
|
||||||
|
- WOODPECKER_HOST=${WOODPECKER_HOST}
|
||||||
|
- WOODPECKER_SECRET=${WOODPECKER_AGENT_SECRET}
|
||||||
|
- WOODPECKER_GITEA=true
|
||||||
|
- WOODPECKER_GITEA_URL=${WOODPECKER_GITEA_URL}
|
||||||
|
- WOODPECKER_GITEA_CLIENT=${WOODPECKER_GITEA_CLIENT}
|
||||||
|
- WOODPECKER_GITEA_SECRET=${WOODPECKER_GITEA_SECRET}
|
||||||
|
networks:
|
||||||
|
- caddy
|
||||||
|
- woodpecker
|
||||||
|
labels:
|
||||||
|
caddy: woodpecker.localhost
|
||||||
|
caddy.reverse_proxy: "{{upstreams 8000}}"
|
||||||
|
woodpecker-agent:
|
||||||
|
image: woodpeckerci/woodpecker-agent:next
|
||||||
|
#command: agent
|
||||||
|
restart: always
|
||||||
|
depends_on:
|
||||||
|
- woodpecker-server
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
networks:
|
||||||
|
- woodpecker
|
||||||
|
environment:
|
||||||
|
# - WOODPECKER_LOG_LEVEL=debug
|
||||||
|
- WOODPECKER_SERVER=woodpecker-server:9000
|
||||||
|
- WOODPECKER_SECRET=${WOODPECKER_AGENT_SECRET}
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
woodpecker-server-data:
|
||||||
|
|
||||||
|
|
||||||
|
networks:
|
||||||
|
woodpecker:
|
||||||
|
internal: true
|
||||||
|
caddy:
|
||||||
|
external: true
|
|
@ -1,4 +1,4 @@
|
||||||
# Container
|
# Container
|
||||||
[](http://bodo.mertens.digital/heri410/Container)
|
[](http://bodo.mertens.digital/heri410/Container)
|
||||||
|
|
||||||
Collection of Containers to Build
|
Collection of Containers and Docker Compose Files
|
1
kontify/.gitignore
vendored
1
kontify/.gitignore
vendored
|
@ -1 +0,0 @@
|
||||||
config/
|
|
Loading…
Reference in a new issue