forked from linux/WebHosting
remove all woodpecker containers and nginx config
Signed-off-by: Basil Bruhn <basil.bruhn@psi.ch>
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name woodpecker-test.psi.ch;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name woodpecker-test.psi.ch;
|
||||
|
||||
ssl_certificate /etc/nginx/certs/woodpecker-test.psi.ch.crt;
|
||||
ssl_certificate_key /etc/nginx/private/woodpecker-test.psi.ch.key;
|
||||
|
||||
location / {
|
||||
proxy_pass http://woodpecker_server:8000;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
}
|
||||
+1
-40
@@ -140,7 +140,7 @@ services:
|
||||
opticswiki:
|
||||
image: gitea.psi.ch/images/opticswiki:1
|
||||
container_name: opticswiki
|
||||
restart: always
|
||||
restart: always
|
||||
volumes:
|
||||
- /opt/webcontent/opticswiki/data:/usr/local/apache2/Foswiki-2.1.9/data
|
||||
- /opt/webcontent/opticswiki/pub:/usr/local/apache2/Foswiki-2.1.9/pub
|
||||
@@ -149,44 +149,6 @@ services:
|
||||
networks:
|
||||
- backend
|
||||
|
||||
# Sven Augustin -Hax0rL0rd
|
||||
# CI/CD Aaddition to Gitea (Jenkins for poor people)
|
||||
woodpecker-server:
|
||||
image: woodpeckerci/woodpecker-server:next
|
||||
container_name: woodpecker_server
|
||||
restart: always
|
||||
ports:
|
||||
- 8000:8000
|
||||
volumes:
|
||||
- /opt/webcontent/woodpecker/server:/var/lib/woodpecker/
|
||||
environment:
|
||||
- WOODPECKER_OPEN=true
|
||||
- WOODPECKER_HOST=https://woodpecker-test.psi.ch
|
||||
- WOODPECKER_AGENT_SECRET={{ WOODPECKER_AGENT_SECRET }}
|
||||
- WOODPECKER_GITEA=true
|
||||
- WOODPECKER_GITEA_URL=https://gitea-test.psi.ch
|
||||
- WOODPECKER_GITEA_CLIENT={{ WOODPECKER_GITEA_CLIENT }}
|
||||
- WOODPECKER_GITEA_SECRET={{ WOODPECKER_GITEA_SECRET }}
|
||||
networks:
|
||||
- backend
|
||||
- woodpecker_backend
|
||||
|
||||
woodpecker-agent:
|
||||
image: woodpeckerci/woodpecker-agent:next
|
||||
container_name: woodpecker_agent
|
||||
command: agent
|
||||
restart: always
|
||||
depends_on:
|
||||
- woodpecker-server
|
||||
volumes:
|
||||
- /opt/webcontent/woodpecker/agent/woodpecker:/etc/woodpecker
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
- WOODPECKER_SERVER=woodpecker-server:9000
|
||||
- WOODPECKER_AGENT_SECRET={{ WOODPECKER_AGENT_SECRET }}
|
||||
networks:
|
||||
- woodpecker_backend
|
||||
|
||||
# Angelo Sozzi INC0150655 angelo.sozzi@psi.ch
|
||||
# POC Software - might be installed on docker-dmz
|
||||
n8n:
|
||||
@@ -319,7 +281,6 @@ networks:
|
||||
public:
|
||||
backend:
|
||||
hedgedoc_backend:
|
||||
woodpecker_backend:
|
||||
it_strategy_dashboard_backend:
|
||||
panda_maintenance_backend:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user