mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2025-01-05 07:14:25 +01:00
Compare commits
2 Commits
2da0baa838
...
29e3988bca
Author | SHA1 | Date | |
---|---|---|---|
29e3988bca | |||
72973384fb |
2
Makefile
2
Makefile
@ -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 /')
|
||||
|
@ -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/)
|
||||
|
@ -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}
|
||||
|
@ -1,5 +1,3 @@
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
# Adminer
|
||||
adminer:
|
||||
|
@ -1,5 +1,3 @@
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
# Backup
|
||||
backup:
|
||||
|
@ -1,5 +1,3 @@
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
# Caddy
|
||||
caddy:
|
||||
|
@ -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:
|
||||
|
@ -1,5 +1,3 @@
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
# Jellyfin
|
||||
jellyfin:
|
||||
|
@ -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
|
||||
|
@ -1,5 +1,3 @@
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
# qBittorrent
|
||||
qbittorrent:
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
@ -1,5 +1,3 @@
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
# Wordpress
|
||||
wordpress:
|
||||
|
8
env/gitea.env
vendored
8
env/gitea.env
vendored
@ -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
|
Loading…
Reference in New Issue
Block a user