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 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)) PROFILE_CMD := $(addprefix --profile ,$(PROFILES))
COMPOSE_FILES := $(shell find docker-compose*.yml | sed -e 's/^/--file /') 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. 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 ## Build with
- [Wordpress](https://wordpress.org/) - [Wordpress](https://wordpress.org/)

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

8
env/gitea.env vendored
View File

@ -6,4 +6,10 @@ GITEA__database__NAME=gitea
GITEA__database__USER=bensuperpc GITEA__database__USER=bensuperpc
GITEA__database__PASSWD=K7s5yoHknnEd7vsZoxb8I3dK9mjToF1j GITEA__database__PASSWD=K7s5yoHknnEd7vsZoxb8I3dK9mjToF1j
#GITEA__security__SECRET_KEY= #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