Compare commits
20 Commits
woodpecker
...
master
Author | SHA1 | Date |
---|---|---|
Jef Roosens | 45fc525ad2 | |
Renovate Bot | fb7acbd395 | |
Jef Roosens | c6f669bdec | |
Renovate Bot | 851276d526 | |
Jef Roosens | df80870261 | |
Renovate Bot | a2c03576fa | |
Jef Roosens | a80a906f44 | |
Renovate Bot | ff4f26d245 | |
Jef Roosens | 6ba4666719 | |
Renovate Bot | e1d1edad4e | |
Jef Roosens | fb96a1430c | |
Renovate Bot | 5b32f83d95 | |
Jef Roosens | 14999e62dd | |
Renovate Bot | fa56eae188 | |
Jef Roosens | 1a2006002c | |
Renovate Bot | e0d1941a54 | |
Jef Roosens | 9548780db3 | |
Renovate Bot | 1324ad6445 | |
Jef Roosens | 927a090a91 | |
Renovate Bot | 66116adf87 |
|
@ -30,7 +30,7 @@ services:
|
|||
- 'upload:/var/www/html/storage/upload'
|
||||
|
||||
db:
|
||||
image: 'postgres:13.2-alpine'
|
||||
image: 'postgres:13.3-alpine'
|
||||
restart: 'always'
|
||||
|
||||
healthcheck:
|
||||
|
@ -48,7 +48,7 @@ services:
|
|||
- 'db-data:/var/lib/postgresql/data'
|
||||
|
||||
redis:
|
||||
image: 'redis:6.2.2-alpine'
|
||||
image: 'redis:6.2.4-alpine'
|
||||
restart: 'always'
|
||||
|
||||
healthcheck:
|
||||
|
|
|
@ -3,7 +3,7 @@ version: '2.4'
|
|||
services:
|
||||
app:
|
||||
# Latest contains a development version
|
||||
image: 'gitea/gitea:1.14.1-rootless'
|
||||
image: 'gitea/gitea:1.14.2-rootless'
|
||||
restart: 'always'
|
||||
|
||||
depends_on:
|
||||
|
@ -31,7 +31,7 @@ services:
|
|||
- '/etc/localtime:/etc/localtime:ro'
|
||||
|
||||
db:
|
||||
image: 'postgres:13.2-alpine'
|
||||
image: 'postgres:13.3-alpine'
|
||||
restart: 'always'
|
||||
|
||||
healthcheck:
|
||||
|
|
|
@ -27,7 +27,7 @@ services:
|
|||
- 'index:/var/www/html/storage/search-indexes'
|
||||
|
||||
db:
|
||||
image: 'mariadb:10.5.9-focal'
|
||||
image: 'mariadb:10.6.1-focal'
|
||||
restart: 'always'
|
||||
command: '--default-authentication-plugin=mysql_native_password'
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ version: '2.4'
|
|||
|
||||
services:
|
||||
app:
|
||||
image: 'miniflux/miniflux:2.0.29'
|
||||
image: 'miniflux/miniflux:2.0.30'
|
||||
restart: 'always'
|
||||
|
||||
depends_on:
|
||||
|
@ -25,7 +25,7 @@ services:
|
|||
- 'nginx'
|
||||
|
||||
db:
|
||||
image: 'postgres:13.2-alpine'
|
||||
image: 'postgres:13.3-alpine'
|
||||
restart: 'always'
|
||||
|
||||
healthcheck:
|
||||
|
|
|
@ -2,7 +2,7 @@ version: '2.4'
|
|||
|
||||
services:
|
||||
app:
|
||||
image: 'monica:2.20.0-apache'
|
||||
image: 'monica:2.22.0-apache'
|
||||
restart: 'always'
|
||||
|
||||
healthcheck:
|
||||
|
@ -26,7 +26,7 @@ services:
|
|||
- 'data:/var/www/html/storage'
|
||||
|
||||
db:
|
||||
image: 'mariadb:10.5.9-focal'
|
||||
image: 'mariadb:10.6.1-focal'
|
||||
restart: 'always'
|
||||
command: '--default-authentication-plugin=mysql_native_password'
|
||||
|
||||
|
@ -40,7 +40,7 @@ services:
|
|||
- 'db-data:/var/lib/mysql'
|
||||
|
||||
redis:
|
||||
image: 'redis:6.2.2-alpine'
|
||||
image: 'redis:6.2.4-alpine'
|
||||
restart: 'always'
|
||||
|
||||
healthcheck:
|
||||
|
|
|
@ -44,7 +44,7 @@ services:
|
|||
- 'root:/var/www/html'
|
||||
|
||||
db:
|
||||
image: 'postgres:13.2-alpine'
|
||||
image: 'postgres:13.3-alpine'
|
||||
restart: 'always'
|
||||
|
||||
environment:
|
||||
|
@ -55,7 +55,7 @@ services:
|
|||
- 'db-data:/var/lib/postgresql/data'
|
||||
|
||||
redis:
|
||||
image: 'redis:6.2.2-alpine'
|
||||
image: 'redis:6.2.4-alpine'
|
||||
restart: 'always'
|
||||
|
||||
healthcheck:
|
||||
|
|
|
@ -63,9 +63,3 @@ GITEA_HOST=gitea_app_1
|
|||
PODGRAB_DOMAIN=
|
||||
### Hostname
|
||||
PODGRAB_HOST=podgrab_app_1
|
||||
|
||||
## Woodpecker
|
||||
### Domain name
|
||||
WOODPECKER_DOMAIN=
|
||||
### Hostname
|
||||
WOODPECKER_HOST=woodpecker_app_1
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM nginx:1.20.0-alpine
|
||||
FROM nginx:1.21.0-alpine
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
COPY renew /etc/periodic/weekly/renew
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
server {
|
||||
# SSL Key locations
|
||||
ssl_certificate /etc/letsencrypt/live/${WOODPECKER_DOMAIN}/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/${WOODPECKER_DOMAIN}/privkey.pem;
|
||||
|
||||
listen ${HTTPS_PORT} ssl;
|
||||
listen [::]:${HTTPS_PORT} ssl;
|
||||
server_name ${WOODPECKER_DOMAIN};
|
||||
|
||||
location / {
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Host $http_host;
|
||||
|
||||
proxy_pass http://${WOODPECKER_HOST}:8000;
|
||||
proxy_redirect off;
|
||||
proxy_http_version 1.1;
|
||||
proxy_buffering off;
|
||||
|
||||
chunked_transfer_encoding off;
|
||||
}
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
# Allow all users to use it
|
||||
DRONE_OPEN=true
|
||||
# Drone needs to know its own location
|
||||
DRONE_HOST=
|
||||
# The same, but without the https in front of it
|
||||
DRONE_SERVER=
|
||||
# Shared secret to communicate with agents
|
||||
DRONE_SECRET=
|
||||
|
||||
# Tell Drone to use postgres
|
||||
DRONE_DATABASE_DRIVER=postgres
|
||||
DRONE_DATABASE_DATASOURCE=postgres://woodpecker:woodpecker@db:5432/woodpecker?sslmode=disable
|
||||
|
||||
# These are just a guess based on the documentation
|
||||
DRONE_GITEA=true
|
||||
DRONE_GITEA_URL=
|
|
@ -1,67 +0,0 @@
|
|||
version: '2.4'
|
||||
|
||||
services:
|
||||
# The main drone instance
|
||||
app:
|
||||
# Latest version as of writing this document
|
||||
image: 'laszlocloud/woodpecker-server:v0.13.0'
|
||||
restart: 'always'
|
||||
|
||||
depends_on:
|
||||
db:
|
||||
condition: 'service_healthy'
|
||||
|
||||
env_file:
|
||||
- '.env'
|
||||
networks:
|
||||
- 'default'
|
||||
- 'nginx'
|
||||
ports:
|
||||
# Used to communicate with the agents (I think)
|
||||
- '9000:9000'
|
||||
volumes:
|
||||
- 'server-data:/var/lib/drone'
|
||||
|
||||
# Database for the server
|
||||
db:
|
||||
image: 'postgres:13.2-alpine'
|
||||
restart: 'always'
|
||||
|
||||
healthcheck:
|
||||
test: 'pg_isready -U woodpecker'
|
||||
interval: '30s'
|
||||
timeout: '5s'
|
||||
retries: 3
|
||||
start_period: '0s'
|
||||
|
||||
environment:
|
||||
- 'POSTGRES_DB=woodpecker'
|
||||
- 'POSTGRES_USER=woodpecker'
|
||||
- 'POSTGRES_PASSWORD=woodpecker'
|
||||
volumes:
|
||||
- 'db-data:/var/lib/postgresql/data'
|
||||
|
||||
# We can deploy more agents by using the scale command
|
||||
# Each agent can do one parallel build by default
|
||||
agent:
|
||||
image: 'laszlocloud/woodpecker-agent:v0.13.0'
|
||||
restart: 'always'
|
||||
command: 'agent'
|
||||
|
||||
depends_on:
|
||||
app:
|
||||
condition: 'service_started'
|
||||
|
||||
environment:
|
||||
- 'DRONE_SERVER=${DRONE_SERVER}'
|
||||
- 'DRONE_SECRET=${DRONE_SECRET}'
|
||||
volumes:
|
||||
- '/var/run/docker.sock:/var/run/docker.sock'
|
||||
|
||||
networks:
|
||||
nginx:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
db-data:
|
||||
server-data:
|
Reference in New Issue