mirror of
https://github.com/mr-vercetti/homeserver.git
synced 2025-01-18 16:25:35 +01:00
Compare commits
4 Commits
9c2fdc7213
...
3f4610cf3e
Author | SHA1 | Date | |
---|---|---|---|
|
3f4610cf3e | ||
|
f241a9810f | ||
|
72c2170c10 | ||
|
88475cc82b |
Binary file not shown.
Before Width: | Height: | Size: 121 KiB After Width: | Height: | Size: 117 KiB |
@ -12,6 +12,7 @@ All services are deployed using Docker compose and are run as a non-root user.
|
|||||||
* [watchtower](https://github.com/containrrr/watchtower) - notifications about docker image updates
|
* [watchtower](https://github.com/containrrr/watchtower) - notifications about docker image updates
|
||||||
* [Duplicati](https://github.com/linuxserver/docker-duplicati) - cool backup
|
* [Duplicati](https://github.com/linuxserver/docker-duplicati) - cool backup
|
||||||
software
|
software
|
||||||
|
* [Netdata](https://github.com/netdata/netdata) - real time monitoring solution
|
||||||
|
|
||||||
### Media
|
### Media
|
||||||
* [Jellyfin](https://github.com/linuxserver/docker-jellyfin) - media server
|
* [Jellyfin](https://github.com/linuxserver/docker-jellyfin) - media server
|
||||||
@ -20,12 +21,14 @@ All services are deployed using Docker compose and are run as a non-root user.
|
|||||||
* [Bazarr](https://github.com/linuxserver/docker-bazarr) - subtitle manager
|
* [Bazarr](https://github.com/linuxserver/docker-bazarr) - subtitle manager
|
||||||
* [delugevpn](https://github.com/binhex/arch-delugevpn) - torrent client with VPN and Privoxy
|
* [delugevpn](https://github.com/binhex/arch-delugevpn) - torrent client with VPN and Privoxy
|
||||||
* [YoutubeDL](https://github.com/Tzahi12345/YoutubeDL-Material) - Youtube media downloader
|
* [YoutubeDL](https://github.com/Tzahi12345/YoutubeDL-Material) - Youtube media downloader
|
||||||
|
* [Prowlarr](https://github.com/Prowlarr/Prowlarr) - indexer
|
||||||
|
|
||||||
### Personal cloud
|
### Personal cloud
|
||||||
* [Nextcloud](https://github.com/linuxserver/docker-nextcloud) - filesync/cloud solution
|
* [Nextcloud](https://github.com/linuxserver/docker-nextcloud) - filesync/cloud solution
|
||||||
* [Redis](https://github.com/docker-library/redis) - cache service
|
* [Redis](https://github.com/docker-library/redis) - cache service
|
||||||
* [MariaDB](https://github.com/linuxserver/docker-mariadb) - database
|
* [MariaDB](https://github.com/linuxserver/docker-mariadb) - database
|
||||||
* [Collabora](https://github.com/CollaboraOnline/online) - office suite
|
* [Collabora](https://github.com/CollaboraOnline/online) - office suite
|
||||||
|
* [static-file-server](https://github.com/halverneus/static-file-server) - static file server
|
||||||
|
|
||||||
### Software development
|
### Software development
|
||||||
* [Gitea](https://github.com/go-gitea/gitea) - git web service
|
* [Gitea](https://github.com/go-gitea/gitea) - git web service
|
||||||
|
@ -40,6 +40,7 @@ BACKUP_DIR=
|
|||||||
|
|
||||||
# netdata
|
# netdata
|
||||||
HOSTNAME=
|
HOSTNAME=
|
||||||
|
NETDATA_PGID=
|
||||||
|
|
||||||
# gitea
|
# gitea
|
||||||
# you need to create "git" user and group
|
# you need to create "git" user and group
|
||||||
@ -51,10 +52,18 @@ GITEA_MYSQL_USER=
|
|||||||
GITEA_MYSQL_PASSWORD=
|
GITEA_MYSQL_PASSWORD=
|
||||||
|
|
||||||
# drone
|
# drone
|
||||||
DRONE_GITEA_SERVER=https://git.domain.com
|
# gitea integration is disabled right now, instead i use github
|
||||||
|
#DRONE_GITEA_SERVER=https://git.domain.com
|
||||||
|
# generate these in gitea
|
||||||
|
#DRONE_GITEA_CLIENT_ID=
|
||||||
|
#DRONE_GITEA_CLIENT_SECRET=
|
||||||
|
DRONE_GITHUB_CLIENT_ID=
|
||||||
|
DRONE_GITHUB_CLIENT_SECRET=
|
||||||
DRONE_SERVER_HOST=https://drone.domain.com
|
DRONE_SERVER_HOST=https://drone.domain.com
|
||||||
DRONE_RPC_SECRET=
|
DRONE_RPC_SECRET=
|
||||||
# generate these in gitea
|
|
||||||
DRONE_GITEA_CLIENT_ID=
|
|
||||||
DRONE_GITEA_CLIENT_SECRET=
|
|
||||||
DRONE_USER_CREATE=username:<--USERNAME-->,machine:false,admin:true,token:${DRONE_RPC_SECRET}
|
DRONE_USER_CREATE=username:<--USERNAME-->,machine:false,admin:true,token:${DRONE_RPC_SECRET}
|
||||||
|
|
||||||
|
# collabora
|
||||||
|
COLLABORA_USERNAME=
|
||||||
|
COLLABORA_PASSWORD=
|
||||||
|
COLLABORA_DOMAIN=
|
||||||
|
27
docker/mgmt.sh
Executable file
27
docker/mgmt.sh
Executable file
@ -0,0 +1,27 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ $# -ne 1 ]; then
|
||||||
|
echo "Please provide command to execute: 'up', 'stop' or 'restart'"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
command="$1"
|
||||||
|
|
||||||
|
for stack in stacks/*/*
|
||||||
|
do
|
||||||
|
case "$command" in
|
||||||
|
"up")
|
||||||
|
docker-compose -f "${stack}" --env-file .env up -d
|
||||||
|
;;
|
||||||
|
"stop")
|
||||||
|
docker-compose -f "${stack}" --env-file .env stop
|
||||||
|
;;
|
||||||
|
"restart")
|
||||||
|
docker-compose -f "${stack}" --env-file .env restart
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Wrong command. Please use 'up', 'stop' or 'restart'"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
21
docker/stacks/file-server/file-server.yml
Normal file
21
docker/stacks/file-server/file-server.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
services:
|
||||||
|
homer:
|
||||||
|
image: halverneus/static-file-server
|
||||||
|
container_name: file-server
|
||||||
|
networks:
|
||||||
|
- file-server
|
||||||
|
- proxy
|
||||||
|
volumes:
|
||||||
|
- ${DATA_DIR}/file-server:/content/files
|
||||||
|
environment:
|
||||||
|
- FOLDER=/content/files
|
||||||
|
ports:
|
||||||
|
- 8097:8080
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external:
|
||||||
|
name: proxy
|
||||||
|
file-server:
|
||||||
|
name: file-server
|
29
docker/stacks/netdata/netdata.yml
Normal file
29
docker/stacks/netdata/netdata.yml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
services:
|
||||||
|
netdata:
|
||||||
|
image: netdata/netdata
|
||||||
|
container_name: netdata
|
||||||
|
hostname: ${HOSTNAME}
|
||||||
|
networks:
|
||||||
|
- netdata
|
||||||
|
cap_add:
|
||||||
|
- SYS_PTRACE
|
||||||
|
security_opt:
|
||||||
|
- apparmor:unconfined
|
||||||
|
environment:
|
||||||
|
- PGID=${NETDATA_PGID}
|
||||||
|
- TZ=${TIMEZONE}
|
||||||
|
- DISABLE_TELEMETRY=1
|
||||||
|
volumes:
|
||||||
|
- /etc/passwd:/host/etc/passwd:ro
|
||||||
|
- /etc/group:/host/etc/group:ro
|
||||||
|
- /proc:/host/proc:ro
|
||||||
|
- /sys:/host/sys:ro
|
||||||
|
- /etc/os-release:/host/etc/os-release:ro
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
ports:
|
||||||
|
- 19999:19999
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
networks:
|
||||||
|
netdata:
|
||||||
|
name: netdata
|
@ -45,12 +45,11 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- DRONE_DATABASE_DRIVER=sqlite3
|
- DRONE_DATABASE_DRIVER=sqlite3
|
||||||
- DRONE_DATABASE_DATASOURCE=/data/database.sqlite
|
- DRONE_DATABASE_DATASOURCE=/data/database.sqlite
|
||||||
- DRONE_GITEA_SERVER=${DRONE_GITEA_SERVER}
|
|
||||||
- DRONE_RPC_SECRET=${DRONE_RPC_SECRET}
|
- DRONE_RPC_SECRET=${DRONE_RPC_SECRET}
|
||||||
- DRONE_SERVER_PROTO=https
|
- DRONE_SERVER_PROTO=https
|
||||||
- DRONE_SERVER_HOST=${DRONE_SERVER_HOST}
|
- DRONE_SERVER_HOST=${DRONE_SERVER_HOST}
|
||||||
- DRONE_GITEA_CLIENT_ID=${DRONE_GITEA_CLIENT_ID}
|
- DRONE_GITHUB_CLIENT_ID=${DRONE_GITHUB_CLIENT_ID}
|
||||||
- DRONE_GITEA_CLIENT_SECRET=${DRONE_GITEA_CLIENT_SECRET}
|
- DRONE_GITHUB_CLIENT_SECRET=${DRONE_GITHUB_CLIENT_SECRET}
|
||||||
- DRONE_LOGS_DEBUG=true
|
- DRONE_LOGS_DEBUG=true
|
||||||
- DRONE_USER_CREATE=${DRONE_USER_CREATE}
|
- DRONE_USER_CREATE=${DRONE_USER_CREATE}
|
||||||
ports:
|
ports:
|
||||||
|
Loading…
Reference in New Issue
Block a user