Compare commits

..

20 Commits

Author SHA1 Message Date
Jef Roosens 45fc525ad2 Merge pull request 'Update redis Docker tag to v6.2.4' (#25) from renovate/redis-6.x into master
Reviewed-on: https://git.roosens.me/Chewing_Bever/self-hosting/pulls/25
2021-06-03 15:55:14 +02:00
Renovate Bot fb7acbd395 Update redis Docker tag to v6.2.4 2021-06-02 01:00:56 +00:00
Jef Roosens c6f669bdec Merge pull request 'Update nginx Docker tag to v1.21.0' (#24) from renovate/nginx-1.x into master
Reviewed-on: https://git.roosens.me/Chewing_Bever/self-hosting/pulls/24
2021-05-25 21:43:01 +02:00
Renovate Bot 851276d526 Update nginx Docker tag to v1.21.0 2021-05-25 17:01:58 +00:00
Jef Roosens df80870261 Merge pull request 'Update mariadb Docker tag to v10.6.1' (#23) from renovate/mariadb-10.x into master
Reviewed-on: https://git.roosens.me/Chewing_Bever/self-hosting/pulls/23
2021-05-25 12:33:04 +02:00
Renovate Bot a2c03576fa Update mariadb Docker tag to v10.6.1 2021-05-25 01:00:58 +00:00
Jef Roosens a80a906f44 Merge pull request 'Update postgres Docker tag to v13.3' (#20) from renovate/postgres-13.x into master
Reviewed-on: https://git.roosens.me/Chewing_Bever/self-hosting/pulls/20
2021-05-15 08:40:20 +02:00
Renovate Bot ff4f26d245 Update postgres Docker tag to v13.3 2021-05-14 21:00:58 +00:00
Jef Roosens 6ba4666719 Merge pull request 'Update gitea/gitea Docker tag to v1.14.2' (#19) from renovate/gitea-gitea-1.x into master
Reviewed-on: https://git.roosens.me/Chewing_Bever/self-hosting/pulls/19
2021-05-09 14:39:28 +02:00
Renovate Bot e1d1edad4e Update gitea/gitea Docker tag to v1.14.2 2021-05-09 11:00:56 +00:00
Jef Roosens fb96a1430c Merge pull request 'Update miniflux/miniflux Docker tag to v2.0.30' (#18) from renovate/miniflux-miniflux-2.x into master
Reviewed-on: https://git.roosens.me/Chewing_Bever/self-hosting/pulls/18
2021-05-08 15:10:43 +02:00
Renovate Bot 5b32f83d95 Update miniflux/miniflux Docker tag to v2.0.30 2021-05-08 00:02:40 +00:00
Jef Roosens 14999e62dd Merge pull request 'Update redis Docker tag to v6.2.3' (#17) from renovate/redis-6.2.x into master
Reviewed-on: https://git.roosens.me/Chewing_Bever/self-hosting/pulls/17
2021-05-04 17:13:17 +02:00
Renovate Bot fa56eae188 Update redis Docker tag to v6.2.3 2021-05-03 23:00:38 +00:00
Jef Roosens 1a2006002c Merge pull request 'Update monica Docker tag to v2.22.0' (#15) from renovate/monica-2.x into master
Reviewed-on: https://git.roosens.me/Chewing_Bever/self-hosting/pulls/15
2021-05-01 09:45:41 +02:00
Renovate Bot e0d1941a54 Update monica Docker tag to v2.22.0 2021-04-30 22:04:46 +00:00
Jef Roosens 9548780db3 Merge pull request 'Update mariadb Docker tag to v10.6.0' (#14) from renovate/docker-mariadb-10.x into master
Reviewed-on: https://git.roosens.me/Chewing_Bever/self-hosting/pulls/14
2021-04-29 08:55:47 +02:00
Renovate Bot 1324ad6445 Update mariadb Docker tag to v10.6.0 2021-04-29 01:01:13 +00:00
Jef Roosens 927a090a91 Merge pull request 'Update monica Docker tag to v2.21.0' (#13) from renovate/docker-monica-2.x into master
Reviewed-on: https://git.roosens.me/Chewing_Bever/self-hosting/pulls/13
2021-04-27 09:13:51 +02:00
Renovate Bot 66116adf87 Update monica Docker tag to v2.21.0 2021-04-26 20:00:48 +00:00
11 changed files with 13 additions and 124 deletions

View File

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

View File

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

View File

@ -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'

View File

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

View File

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

View File

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

View File

@ -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

View File

@ -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

View File

@ -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;
}
}

View File

@ -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=

View File

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