mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 08:44:28 +01:00
Move to linuxserver for mariadb and jellyfin
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
540bf34947
commit
811f6ac7bb
16
README.md
16
README.md
@ -111,10 +111,10 @@ WORDPRESS_DB_HOST=wordpress_db:3306
|
|||||||
For [wordpress_db.env](infrastructure/wordpress/env/wordpress_db.env) file, you need to change the password(s) and user for the database.
|
For [wordpress_db.env](infrastructure/wordpress/env/wordpress_db.env) file, you need to change the password(s) and user for the database.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
MARIADB_ROOT_PASSWORD=7L1Ncbquax0B2TCOmrjaQl9n5mnY88bQ
|
MYSQL_ROOT_PASSWORD=7L1Ncbquax0B2TCOmrjaQl9n5mnY88bQ
|
||||||
MARIADB_USER=bensuperpc
|
MYSQL_USER=bensuperpc
|
||||||
MARIADB_PASSWORD=lEOEf8cndnDjp84O4Uv5D9zJLJDFatLw
|
MYSQL_PASSWORD=lEOEf8cndnDjp84O4Uv5D9zJLJDFatLw
|
||||||
MARIADB_DATABASE=wordpress
|
MYSQL_DATABASE=wordpress
|
||||||
```
|
```
|
||||||
|
|
||||||
For [wordpress_backup.env](infrastructure/wordpress/env/wordpress_backup.env) file, you need to change the password(s) for the restic backup.
|
For [wordpress_backup.env](infrastructure/wordpress/env/wordpress_backup.env) file, you need to change the password(s) for the restic backup.
|
||||||
@ -166,10 +166,10 @@ SECRET_KEY=UZvg9nbcGIJlPEB3uI39TAEWyFOz9nm8
|
|||||||
For [projectsend_db.env](infrastructure/projectsend/env/projectsend_db.env) file, you need to change the password(s) and user for the database.
|
For [projectsend_db.env](infrastructure/projectsend/env/projectsend_db.env) file, you need to change the password(s) and user for the database.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
MARIADB_ROOT_PASSWORD=8O34297GrBfT3Ld34Lfg9mpotmZwbJtt
|
MYSQL_ROOT_PASSWORD=8O34297GrBfT3Ld34Lfg9mpotmZwbJtt
|
||||||
MARIADB_USER=bensuperpc
|
MYSQL_USER=bensuperpc
|
||||||
MARIADB_PASSWORD=wdSUa1JEZhXie5AJ5NcX1w73xmpO12EY
|
MYSQL_PASSWORD=wdSUa1JEZhXie5AJ5NcX1w73xmpO12EY
|
||||||
MARIADB_DATABASE=projectsend
|
MYSQL_DATABASE=projectsend
|
||||||
```
|
```
|
||||||
|
|
||||||
For [picoshare.env](infrastructure/picoshare/env/picoshare.env) file, you need to change the secret key.
|
For [picoshare.env](infrastructure/picoshare/env/picoshare.env) file, you need to change the secret key.
|
||||||
|
@ -25,17 +25,19 @@ services:
|
|||||||
|
|
||||||
# Database gitea
|
# Database gitea
|
||||||
database_gitea:
|
database_gitea:
|
||||||
image: mariadb:latest
|
image: lscr.io/linuxserver/mariadb:latest
|
||||||
container_name: database_gitea
|
container_name: database_gitea
|
||||||
profiles:
|
profiles:
|
||||||
- database
|
- database
|
||||||
- gitea
|
- gitea
|
||||||
|
environment:
|
||||||
|
- PUID=${PUID:-1000}
|
||||||
|
- PGID=${PGID:-1000}
|
||||||
restart: on-failure:5
|
restart: on-failure:5
|
||||||
volumes:
|
volumes:
|
||||||
- gitea_db:/var/lib/mysql:rw
|
- gitea_db:/var/lib/mysql:rw
|
||||||
env_file:
|
env_file:
|
||||||
- ./gitea/env/gitea_db.env
|
- ./gitea/env/gitea_db.env
|
||||||
command: '--default-authentication-plugin=mysql_native_password'
|
|
||||||
networks:
|
networks:
|
||||||
- infra-network
|
- infra-network
|
||||||
security_opt:
|
security_opt:
|
||||||
|
@ -1,12 +1,14 @@
|
|||||||
services:
|
services:
|
||||||
# Jellyfin
|
# Jellyfin
|
||||||
jellyfin:
|
jellyfin:
|
||||||
image: jellyfin/jellyfin:latest
|
image: lscr.io/linuxserver/jellyfin:latest
|
||||||
container_name: jellyfin
|
container_name: jellyfin
|
||||||
profiles:
|
profiles:
|
||||||
- jellyfin
|
- jellyfin
|
||||||
restart: on-failure:5
|
restart: on-failure:5
|
||||||
user: ${PUID:-1000}:${PGID:-1000}
|
environment:
|
||||||
|
- PUID=${PUID:-1000}
|
||||||
|
- PGID=${PGID:-1000}
|
||||||
depends_on:
|
depends_on:
|
||||||
- caddy
|
- caddy
|
||||||
env_file:
|
env_file:
|
||||||
|
2
infrastructure/jellyfin/env/jellyfin.env
vendored
2
infrastructure/jellyfin/env/jellyfin.env
vendored
@ -0,0 +1,2 @@
|
|||||||
|
TZ=Etc/UTC
|
||||||
|
DOCKER_MODS=linuxserver/mods:jellyfin-opencl-intel
|
@ -18,9 +18,10 @@ services:
|
|||||||
- infra-network
|
- infra-network
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
|
|
||||||
# Database projectsend
|
# Database projectsend
|
||||||
projectsend_db:
|
projectsend_db:
|
||||||
image: mariadb:latest
|
image: lscr.io/linuxserver/mariadb:latest
|
||||||
container_name: projectsend_db
|
container_name: projectsend_db
|
||||||
profiles:
|
profiles:
|
||||||
- database
|
- database
|
||||||
@ -35,7 +36,6 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- PUID=${PUID:-1000}
|
- PUID=${PUID:-1000}
|
||||||
- PGID=${PGID:-1000}
|
- PGID=${PGID:-1000}
|
||||||
command: '--default-authentication-plugin=mysql_native_password'
|
|
||||||
networks:
|
networks:
|
||||||
- infra-network
|
- infra-network
|
||||||
security_opt:
|
security_opt:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
MARIADB_ROOT_PASSWORD=8O34297GrBfT3Ld34Lfg9mpotmZwbJtt
|
MYSQL_ROOT_PASSWORD=8O34297GrBfT3Ld34Lfg9mpotmZwbJtt
|
||||||
MARIADB_USER=bensuperpc
|
MYSQL_USER=bensuperpc
|
||||||
MARIADB_PASSWORD=wdSUa1JEZhXie5AJ5NcX1w73xmpO12EY
|
MYSQL_PASSWORD=wdSUa1JEZhXie5AJ5NcX1w73xmpO12EY
|
||||||
MARIADB_DATABASE=projectsend
|
MYSQL_DATABASE=projectsend
|
||||||
|
@ -21,19 +21,21 @@ services:
|
|||||||
|
|
||||||
# Database wordpress
|
# Database wordpress
|
||||||
wordpress_db:
|
wordpress_db:
|
||||||
image: mariadb:latest
|
image: lscr.io/linuxserver/mariadb:latest
|
||||||
container_name: wordpress_db
|
container_name: wordpress_db
|
||||||
profiles:
|
profiles:
|
||||||
- database
|
- database
|
||||||
- wordpress
|
- wordpress
|
||||||
depends_on:
|
depends_on:
|
||||||
- caddy
|
- caddy
|
||||||
|
environment:
|
||||||
|
- PUID=${PUID:-1000}
|
||||||
|
- PGID=${PGID:-1000}
|
||||||
restart: on-failure:5
|
restart: on-failure:5
|
||||||
volumes:
|
volumes:
|
||||||
- wordpress_db:/var/lib/mysql:rw
|
- wordpress_db:/var/lib/mysql:rw
|
||||||
env_file:
|
env_file:
|
||||||
- ./wordpress/env/wordpress_db.env
|
- ./wordpress/env/wordpress_db.env
|
||||||
command: '--default-authentication-plugin=mysql_native_password'
|
|
||||||
networks:
|
networks:
|
||||||
- infra-network
|
- infra-network
|
||||||
security_opt:
|
security_opt:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
MARIADB_ROOT_PASSWORD=7L1Ncbquax0B2TCOmrjaQl9n5mnY88bQ
|
MYSQL_ROOT_PASSWORD=7L1Ncbquax0B2TCOmrjaQl9n5mnY88bQ
|
||||||
MARIADB_USER=bensuperpc
|
MYSQL_USER=bensuperpc
|
||||||
MARIADB_PASSWORD=lEOEf8cndnDjp84O4Uv5D9zJLJDFatLw
|
MYSQL_PASSWORD=lEOEf8cndnDjp84O4Uv5D9zJLJDFatLw
|
||||||
MARIADB_DATABASE=wordpress
|
MYSQL_DATABASE=wordpress
|
||||||
|
Loading…
Reference in New Issue
Block a user