mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 08:44:28 +01:00
Add psitransfer
Signed-off-by: Bensuperpc <Bensuperpc>
This commit is contained in:
parent
2a997e0f4c
commit
6e57893aec
4
Makefile
4
Makefile
@ -13,10 +13,10 @@
|
|||||||
|
|
||||||
DOCKER := docker
|
DOCKER := docker
|
||||||
|
|
||||||
PROFILES := caddy wordpress adminer backup transmission syncthing gitea gitea-runner uptime-kuma jellyfin watchtower
|
PROFILES := caddy wordpress adminer backup transmission syncthing uptime-kuma jellyfin qbittorrent psitransfer
|
||||||
PROFILE_CMD := $(addprefix --profile ,$(PROFILES))
|
PROFILE_CMD := $(addprefix --profile ,$(PROFILES))
|
||||||
|
|
||||||
# qbittorrent
|
# gitea-runner watchtower gitea
|
||||||
|
|
||||||
COMPOSE_FILES := $(shell find docker-compose*.yml | sed -e 's/^/--file /')
|
COMPOSE_FILES := $(shell find docker-compose*.yml | sed -e 's/^/--file /')
|
||||||
|
|
||||||
|
@ -121,6 +121,7 @@ GITEA__database__HOST=database_gitea:3306
|
|||||||
GITEA__database__NAME=gitea
|
GITEA__database__NAME=gitea
|
||||||
GITEA__database__USER=bensuperpc
|
GITEA__database__USER=bensuperpc
|
||||||
GITEA__database__PASSWD=K7s5yoHknnEd7vsZoxb8I3dK9mjToF1j
|
GITEA__database__PASSWD=K7s5yoHknnEd7vsZoxb8I3dK9mjToF1j
|
||||||
|
GITEA__security__SECRET_KEY=ykcZt23an1E4lFHWvrCKdAyt16WAiK9c
|
||||||
```
|
```
|
||||||
|
|
||||||
For [gitea_db.env](env/gitea_db.env) file, you need to change the password(s) and user for the database.
|
For [gitea_db.env](env/gitea_db.env) file, you need to change the password(s) and user for the database.
|
||||||
@ -132,6 +133,12 @@ MYSQL_PASSWORD=K7s5yoHknnEd7vsZoxb8I3dK9mjToF1j
|
|||||||
MYSQL_DATABASE=gitea
|
MYSQL_DATABASE=gitea
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For [psitransfer.env](env/psitransfer.env) file, you need to change the password(s) and user for the database.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
PSITRANSFER_ADMIN_PASS=n9jLVNT9QUotTJTT91JqH4GyBTg9pvEn
|
||||||
|
```
|
||||||
|
|
||||||
### Start the infrastructure
|
### Start the infrastructure
|
||||||
|
|
||||||
Start the website with:
|
Start the website with:
|
||||||
|
@ -63,6 +63,10 @@ jellyfin.bensuperpc.org {
|
|||||||
reverse_proxy jellyfin:8096
|
reverse_proxy jellyfin:8096
|
||||||
}
|
}
|
||||||
|
|
||||||
|
psitransfer.bensuperpc.org {
|
||||||
|
reverse_proxy psitransfer:3000
|
||||||
|
}
|
||||||
|
|
||||||
syncthing.bensuperpc.org {
|
syncthing.bensuperpc.org {
|
||||||
reverse_proxy syncthing:8384 {
|
reverse_proxy syncthing:8384 {
|
||||||
header_up Host {upstream_hostport}
|
header_up Host {upstream_hostport}
|
||||||
@ -89,7 +93,7 @@ link.bensuperpc.org {
|
|||||||
redir /scpfb https://youtu.be/9zrKk-1E8zM?si=8R_ZBVG3GzMUYOe8&t=36 permanent
|
redir /scpfb https://youtu.be/9zrKk-1E8zM?si=8R_ZBVG3GzMUYOe8&t=36 permanent
|
||||||
redir /mother https://youtu.be/w3NyycHR3fE?si=rNNSW9zYv0bcO2Eu permanent
|
redir /mother https://youtu.be/w3NyycHR3fE?si=rNNSW9zYv0bcO2Eu permanent
|
||||||
redir /cpu https://www.youtube.com/watch?v=y39D4529FM4 permanent
|
redir /cpu https://www.youtube.com/watch?v=y39D4529FM4 permanent
|
||||||
redir /chanteur https://youtu.be/HXdP15Ubu6M?si=N0qvhqo--3pmSGmb permanent
|
redir /lechanteur https://youtu.be/HXdP15Ubu6M?si=N0qvhqo--3pmSGmb permanent
|
||||||
redir /bna https://youtu.be/3T3ofoKfEoY?si=_7HkGQXMC7rBng8O permanent
|
redir /bna https://youtu.be/3T3ofoKfEoY?si=_7HkGQXMC7rBng8O permanent
|
||||||
redir /jojo https://youtu.be/U0TXIXTzJEY?si=2acWJWX06ju2w4uj permanent
|
redir /jojo https://youtu.be/U0TXIXTzJEY?si=2acWJWX06ju2w4uj permanent
|
||||||
redir /patapon https://youtu.be/H6CbNHLHkmk?si=ZvU8SzrOK-oCUXT5 permanent
|
redir /patapon https://youtu.be/H6CbNHLHkmk?si=ZvU8SzrOK-oCUXT5 permanent
|
||||||
|
22
docker-compose.psitransfer.yml
Normal file
22
docker-compose.psitransfer.yml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
services:
|
||||||
|
# psitransfer
|
||||||
|
psitransfer:
|
||||||
|
image: psitrax/psitransfer:latest
|
||||||
|
container_name: psitransfer
|
||||||
|
profiles:
|
||||||
|
- psitransfer
|
||||||
|
restart: on-failure:5
|
||||||
|
depends_on:
|
||||||
|
- caddy
|
||||||
|
env_file:
|
||||||
|
- env/psitransfer.env
|
||||||
|
volumes:
|
||||||
|
- psitransfer_data:/data
|
||||||
|
networks:
|
||||||
|
- infra-network
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
psitransfer_data:
|
||||||
|
name: psitransfer_data
|
2
env/backup.env
vendored
2
env/backup.env
vendored
@ -1,4 +1,4 @@
|
|||||||
BACKUP_CRON=0 2 * * *
|
BACKUP_CRON=0 * * * *
|
||||||
RESTIC_REPOSITORY=/mnt/restic
|
RESTIC_REPOSITORY=/mnt/restic
|
||||||
RESTIC_BACKUP_SOURCES=/data
|
RESTIC_BACKUP_SOURCES=/data
|
||||||
RESTIC_PASSWORD=7L1Ncbquax0B2TCOmrjaQl9n5mnY88bQ
|
RESTIC_PASSWORD=7L1Ncbquax0B2TCOmrjaQl9n5mnY88bQ
|
||||||
|
2
env/gitea.env
vendored
2
env/gitea.env
vendored
@ -5,7 +5,7 @@ GITEA__database__HOST=database_gitea:3306
|
|||||||
GITEA__database__NAME=gitea
|
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=ykcZt23an1E4lFHWvrCKdAyt16WAiK9c
|
||||||
#GITEA__security__INTERNAL_TOKEN=
|
#GITEA__security__INTERNAL_TOKEN=
|
||||||
GITEA__server__DOMAIN=git.bensuperpc.org
|
GITEA__server__DOMAIN=git.bensuperpc.org
|
||||||
GITEA__server__SSH_DOMAIN=git.bensuperpc.org
|
GITEA__server__SSH_DOMAIN=git.bensuperpc.org
|
||||||
|
1
env/psitransfer.env
vendored
Normal file
1
env/psitransfer.env
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
PSITRANSFER_ADMIN_PASS=n9jLVNT9QUotTJTT91JqH4GyBTg9pvEn
|
Loading…
Reference in New Issue
Block a user