Compare commits

...

2 Commits

Author SHA1 Message Date
29e3988bca
Fix warning, remove ssh.bensuperpc.org ect...
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2024-05-18 09:31:51 +02:00
72973384fb
Fix dep caddy
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2024-05-18 09:04:35 +02:00
15 changed files with 19 additions and 29 deletions

View File

@ -13,7 +13,7 @@
DOCKER := docker
PROFILES := caddy wordpress gitea adminer uptime-kuma qbittorrent jellyfin watchtower backup syncthing openssh gitea-runner
PROFILES := caddy wordpress adminer uptime-kuma qbittorrent jellyfin watchtower backup syncthing openssh gitea gitea-runner
PROFILE_CMD := $(addprefix --profile ,$(PROFILES))
COMPOSE_FILES := $(shell find docker-compose*.yml | sed -e 's/^/--file /')

View File

@ -170,6 +170,8 @@ You can find all services on the [docker-compose.yml](docker-compose.yml) file o
You can disable some services by removing the service name in PROFILES variable in the [Makefile](Makefile) file.
To enable the gitea CI: https://medium.com/@lokanx/how-to-build-docker-containers-using-gitea-runners-600729555e07
## Build with
- [Wordpress](https://wordpress.org/)

View File

@ -59,10 +59,6 @@ jellyfin.bensuperpc.org {
reverse_proxy jellyfin:8096
}
ssh.bensuperpc.org {
reverse_proxy openssh:2222
}
syncthing.bensuperpc.org {
reverse_proxy syncthing:8384 {
header_up Host {upstream_hostport}

View File

@ -1,5 +1,3 @@
version: '3.9'
services:
# Adminer
adminer:

View File

@ -1,5 +1,3 @@
version: '3.9'
services:
# Backup
backup:

View File

@ -1,5 +1,3 @@
version: '3.9'
services:
# Caddy
caddy:

View File

@ -1,5 +1,3 @@
version: '3.9'
services:
# Gitea
gitea:
@ -12,7 +10,7 @@ services:
- database_gitea
- caddy
ports:
- "2222:2222"
- "22:22"
env_file:
- env/gitea.env
volumes:

View File

@ -1,5 +1,3 @@
version: '3.9'
services:
# Jellyfin
jellyfin:

View File

@ -1,5 +1,3 @@
version: '3.9'
services:
# Openssh
openssh:
@ -7,6 +5,8 @@ services:
container_name: openssh
profiles:
- openssh
depends_on:
- caddy
restart: on-failure:5
env_file:
- env/openssh.env

View File

@ -1,5 +1,3 @@
version: '3.9'
services:
# qBittorrent
qbittorrent:

View File

@ -1,5 +1,3 @@
version: '3.9'
services:
# syncthing
syncthing:
@ -7,6 +5,8 @@ services:
container_name: syncthing
profiles:
- syncthing
depends_on:
- caddy
restart: on-failure:5
env_file:
- env/syncthing.env

View File

@ -1,5 +1,3 @@
version: '3.9'
services:
# Uptime Kuma
uptime-kuma:
@ -10,6 +8,8 @@ services:
volumes:
- uptimekuma_data:/app/data
restart: on-failure:5
depends_on:
- caddy
networks:
- infra-network
security_opt:

View File

@ -1,5 +1,3 @@
version: '3.9'
services:
# Watchtower
watchtower:
@ -7,6 +5,8 @@ services:
container_name: watchtower
profiles:
- watchtower
depends_on:
- caddy
restart: on-failure:5
networks:
- infra-network

View File

@ -1,5 +1,3 @@
version: '3.9'
services:
# Wordpress
wordpress:

8
env/gitea.env vendored
View File

@ -6,4 +6,10 @@ GITEA__database__NAME=gitea
GITEA__database__USER=bensuperpc
GITEA__database__PASSWD=K7s5yoHknnEd7vsZoxb8I3dK9mjToF1j
#GITEA__security__SECRET_KEY=
#GITEA__security__INTERNAL_TOKEN=
#GITEA__security__INTERNAL_TOKEN=
GITEA__server__DOMAIN=git.bensuperpc.org
GITEA__server__SSH_DOMAIN=git.bensuperpc.org
GITEA__server__HTTP_PORT=3000
GITEA__server__SSH_LISTEN_PORT=22
GITEA__server__SSH_PORT=22
GITEA__server__ROOT_URL=https://git.bensuperpc.org