mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 08:44:28 +01:00
Add fleet
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
860be99a4e
commit
6817b3deb0
2
Makefile
2
Makefile
@ -16,7 +16,7 @@ DOCKER := docker
|
|||||||
BLOG_SERVICES := wordpress
|
BLOG_SERVICES := wordpress
|
||||||
TORRENTS_SERVICES := qbittorrent transmission
|
TORRENTS_SERVICES := qbittorrent transmission
|
||||||
SHARING_SERVICES := psitransfer picoshare privatebin projectsend jellyfin dufs gitea syncthing
|
SHARING_SERVICES := psitransfer picoshare privatebin projectsend jellyfin dufs gitea syncthing
|
||||||
ADMIN_SERVICES := yacht uptime-kuma adminer
|
ADMIN_SERVICES := yacht uptime-kuma adminer fleet
|
||||||
UTILS_SERVICES := it-tools stirlingpdf
|
UTILS_SERVICES := it-tools stirlingpdf
|
||||||
# gitea-runner
|
# gitea-runner
|
||||||
|
|
||||||
|
@ -133,6 +133,10 @@ stirlingpdf.bensuperpc.org {
|
|||||||
reverse_proxy stirlingpdf:8080
|
reverse_proxy stirlingpdf:8080
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fleet.bensuperpc.org {
|
||||||
|
reverse_proxy fleet:8080
|
||||||
|
}
|
||||||
|
|
||||||
link.bensuperpc.org {
|
link.bensuperpc.org {
|
||||||
# TODO: Use service with database
|
# TODO: Use service with database
|
||||||
# Friendly links
|
# Friendly links
|
||||||
|
48
infrastructure/fleet/docker-compose.fleet.yml
Normal file
48
infrastructure/fleet/docker-compose.fleet.yml
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
services:
|
||||||
|
# fleet
|
||||||
|
fleet:
|
||||||
|
image: lscr.io/linuxserver/fleet:latest
|
||||||
|
container_name: fleet
|
||||||
|
profiles:
|
||||||
|
- fleet
|
||||||
|
restart: on-failure:5
|
||||||
|
depends_on:
|
||||||
|
- caddy
|
||||||
|
- fleet_db
|
||||||
|
env_file:
|
||||||
|
- ./fleet/env/fleet.env
|
||||||
|
environment:
|
||||||
|
- PUID=${PUID:-1000}
|
||||||
|
- PGID=${PGID:-1000}
|
||||||
|
volumes:
|
||||||
|
- fleet_config:/config
|
||||||
|
networks:
|
||||||
|
- infra-network
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
|
||||||
|
fleet_db:
|
||||||
|
image: mariadb:latest
|
||||||
|
container_name: fleet_db
|
||||||
|
profiles:
|
||||||
|
- database
|
||||||
|
- fleet
|
||||||
|
depends_on:
|
||||||
|
- caddy
|
||||||
|
restart: on-failure:5
|
||||||
|
volumes:
|
||||||
|
- fleet_db:/var/lib/mysql:rw
|
||||||
|
env_file:
|
||||||
|
- ./fleet/env/fleet_db.env
|
||||||
|
command: '--default-authentication-plugin=mysql_native_password'
|
||||||
|
networks:
|
||||||
|
- infra-network
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
fleet_config:
|
||||||
|
name: fleet_config
|
||||||
|
fleet_db:
|
||||||
|
name: fleet_db
|
6
infrastructure/fleet/env/fleet.env
vendored
Normal file
6
infrastructure/fleet/env/fleet.env
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
TZ=Etc/UTC
|
||||||
|
fleet_admin_authentication_type=DATABASE
|
||||||
|
fleet_database_url=jdbc:mariadb://fleet_db:3306/fleet
|
||||||
|
fleet_database_username=bensuperpc
|
||||||
|
fleet_database_password=BPE9L6A2splwp30fsrXVxjQ0ZIwkFqSh
|
||||||
|
fleet_admin_secret=Tpa5E3k3ZlF8j9gL5eYz8FXhJW85x66b
|
4
infrastructure/fleet/env/fleet_db.env
vendored
Normal file
4
infrastructure/fleet/env/fleet_db.env
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
MARIADB_ROOT_PASSWORD=UUrKj9JGHh5lY0VwVcyT712DaoJ2ae5P
|
||||||
|
MARIADB_USER=bensuperpc
|
||||||
|
MARIADB_PASSWORD=BPE9L6A2splwp30fsrXVxjQ0ZIwkFqSh
|
||||||
|
MARIADB_DATABASE=fleet
|
@ -76,6 +76,12 @@
|
|||||||
description: Dufs
|
description: Dufs
|
||||||
ping: dufs.bensuperpc.org
|
ping: dufs.bensuperpc.org
|
||||||
container: dufs
|
container: dufs
|
||||||
|
- fleet:
|
||||||
|
# icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/fleet.png
|
||||||
|
href: https://fleet.bensuperpc.org/
|
||||||
|
description: Fleet
|
||||||
|
ping: fleet.bensuperpc.org
|
||||||
|
container: fleet
|
||||||
|
|
||||||
- Utils:
|
- Utils:
|
||||||
- it-tools:
|
- it-tools:
|
||||||
|
Loading…
Reference in New Issue
Block a user