-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Bensuperpc <[email protected]>
- Loading branch information
1 parent
860be99
commit 6817b3d
Showing
6 changed files
with
69 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
MARIADB_ROOT_PASSWORD=UUrKj9JGHh5lY0VwVcyT712DaoJ2ae5P | ||
MARIADB_USER=bensuperpc | ||
MARIADB_PASSWORD=BPE9L6A2splwp30fsrXVxjQ0ZIwkFqSh | ||
MARIADB_DATABASE=fleet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters