mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 00:34:26 +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.
|
||||
|
||||
```sh
|
||||
MARIADB_ROOT_PASSWORD=7L1Ncbquax0B2TCOmrjaQl9n5mnY88bQ
|
||||
MARIADB_USER=bensuperpc
|
||||
MARIADB_PASSWORD=lEOEf8cndnDjp84O4Uv5D9zJLJDFatLw
|
||||
MARIADB_DATABASE=wordpress
|
||||
MYSQL_ROOT_PASSWORD=7L1Ncbquax0B2TCOmrjaQl9n5mnY88bQ
|
||||
MYSQL_USER=bensuperpc
|
||||
MYSQL_PASSWORD=lEOEf8cndnDjp84O4Uv5D9zJLJDFatLw
|
||||
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.
|
||||
@ -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.
|
||||
|
||||
```sh
|
||||
MARIADB_ROOT_PASSWORD=8O34297GrBfT3Ld34Lfg9mpotmZwbJtt
|
||||
MARIADB_USER=bensuperpc
|
||||
MARIADB_PASSWORD=wdSUa1JEZhXie5AJ5NcX1w73xmpO12EY
|
||||
MARIADB_DATABASE=projectsend
|
||||
MYSQL_ROOT_PASSWORD=8O34297GrBfT3Ld34Lfg9mpotmZwbJtt
|
||||
MYSQL_USER=bensuperpc
|
||||
MYSQL_PASSWORD=wdSUa1JEZhXie5AJ5NcX1w73xmpO12EY
|
||||
MYSQL_DATABASE=projectsend
|
||||
```
|
||||
|
||||
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:
|
||||
image: mariadb:latest
|
||||
image: lscr.io/linuxserver/mariadb:latest
|
||||
container_name: database_gitea
|
||||
profiles:
|
||||
- database
|
||||
- gitea
|
||||
environment:
|
||||
- PUID=${PUID:-1000}
|
||||
- PGID=${PGID:-1000}
|
||||
restart: on-failure:5
|
||||
volumes:
|
||||
- gitea_db:/var/lib/mysql:rw
|
||||
env_file:
|
||||
- ./gitea/env/gitea_db.env
|
||||
command: '--default-authentication-plugin=mysql_native_password'
|
||||
networks:
|
||||
- infra-network
|
||||
security_opt:
|
||||
|
@ -1,12 +1,14 @@
|
||||
services:
|
||||
# Jellyfin
|
||||
jellyfin:
|
||||
image: jellyfin/jellyfin:latest
|
||||
image: lscr.io/linuxserver/jellyfin:latest
|
||||
container_name: jellyfin
|
||||
profiles:
|
||||
- jellyfin
|
||||
restart: on-failure:5
|
||||
user: ${PUID:-1000}:${PGID:-1000}
|
||||
environment:
|
||||
- PUID=${PUID:-1000}
|
||||
- PGID=${PGID:-1000}
|
||||
depends_on:
|
||||
- caddy
|
||||
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
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
|
||||
# Database projectsend
|
||||
projectsend_db:
|
||||
image: mariadb:latest
|
||||
image: lscr.io/linuxserver/mariadb:latest
|
||||
container_name: projectsend_db
|
||||
profiles:
|
||||
- database
|
||||
@ -35,7 +36,6 @@ services:
|
||||
environment:
|
||||
- PUID=${PUID:-1000}
|
||||
- PGID=${PGID:-1000}
|
||||
command: '--default-authentication-plugin=mysql_native_password'
|
||||
networks:
|
||||
- infra-network
|
||||
security_opt:
|
||||
|
@ -1,4 +1,4 @@
|
||||
MARIADB_ROOT_PASSWORD=8O34297GrBfT3Ld34Lfg9mpotmZwbJtt
|
||||
MARIADB_USER=bensuperpc
|
||||
MARIADB_PASSWORD=wdSUa1JEZhXie5AJ5NcX1w73xmpO12EY
|
||||
MARIADB_DATABASE=projectsend
|
||||
MYSQL_ROOT_PASSWORD=8O34297GrBfT3Ld34Lfg9mpotmZwbJtt
|
||||
MYSQL_USER=bensuperpc
|
||||
MYSQL_PASSWORD=wdSUa1JEZhXie5AJ5NcX1w73xmpO12EY
|
||||
MYSQL_DATABASE=projectsend
|
||||
|
@ -21,19 +21,21 @@ services:
|
||||
|
||||
# Database wordpress
|
||||
wordpress_db:
|
||||
image: mariadb:latest
|
||||
image: lscr.io/linuxserver/mariadb:latest
|
||||
container_name: wordpress_db
|
||||
profiles:
|
||||
- database
|
||||
- wordpress
|
||||
depends_on:
|
||||
- caddy
|
||||
environment:
|
||||
- PUID=${PUID:-1000}
|
||||
- PGID=${PGID:-1000}
|
||||
restart: on-failure:5
|
||||
volumes:
|
||||
- wordpress_db:/var/lib/mysql:rw
|
||||
env_file:
|
||||
- ./wordpress/env/wordpress_db.env
|
||||
command: '--default-authentication-plugin=mysql_native_password'
|
||||
networks:
|
||||
- infra-network
|
||||
security_opt:
|
||||
|
@ -1,4 +1,4 @@
|
||||
MARIADB_ROOT_PASSWORD=7L1Ncbquax0B2TCOmrjaQl9n5mnY88bQ
|
||||
MARIADB_USER=bensuperpc
|
||||
MARIADB_PASSWORD=lEOEf8cndnDjp84O4Uv5D9zJLJDFatLw
|
||||
MARIADB_DATABASE=wordpress
|
||||
MYSQL_ROOT_PASSWORD=7L1Ncbquax0B2TCOmrjaQl9n5mnY88bQ
|
||||
MYSQL_USER=bensuperpc
|
||||
MYSQL_PASSWORD=lEOEf8cndnDjp84O4Uv5D9zJLJDFatLw
|
||||
MYSQL_DATABASE=wordpress
|
||||
|
Loading…
Reference in New Issue
Block a user