Compare commits
32 Commits
thinkcentr
...
main
Author | SHA1 | Date | |
---|---|---|---|
--set | a5a47c94b4 | ||
--set | 4d24fef442 | ||
Thord Johansson | 20b3cbdfa0 | ||
--set | d083a11b21 | ||
Thord Johansson | bedcf237f3 | ||
Thord Johansson | c0c6bfc906 | ||
Thord Johansson | e4d9f69e3f | ||
Thord Johansson | 0cf401ac8c | ||
--set | 58d8f158f5 | ||
--set | 6b78f4df1c | ||
--set | cafe0b07cb | ||
--set | 1509572b73 | ||
--set | 76a7ef8642 | ||
--set | 90e95f25d6 | ||
--set | 9fc2175dcd | ||
--set | 6e89707032 | ||
Thord Johansson | 568fcaafd1 | ||
Thord Johansson | ddef0cc7bc | ||
Thord Johansson | 78214697ad | ||
Thord Johansson | 830ed628bf | ||
Thord Johansson | f4832fe8de | ||
Thord Johansson | 365c9822bc | ||
Thord Johansson | f70ca9ed2b | ||
Thord Johansson | 0eb4463bc1 | ||
Thord Johansson | c80d886db8 | ||
Thord Johansson | 4891f6972f | ||
Thord Johansson | cff4f221c6 | ||
Thord Johansson | d1ea672bd7 | ||
Thord Johansson | f40b2319ae | ||
Thord Johansson | 70e58569f8 | ||
Thord Johansson | 446100706d | ||
Thord Johansson | d711270776 |
|
@ -4,13 +4,14 @@
|
||||||
# don't ignore dirs so we can look inside them
|
# don't ignore dirs so we can look inside them
|
||||||
!*/
|
!*/
|
||||||
|
|
||||||
# but do ignore volumes and subsubdirs
|
# but do ignore volumes and subsubsubdirs e.g. hostname/container/configstuff
|
||||||
volumes/
|
volumes/
|
||||||
*/*/
|
*/*/*/*
|
||||||
|
|
||||||
# only allow .yml files
|
# allow the following files
|
||||||
!*.yml
|
!*.yml
|
||||||
|
!*.sh
|
||||||
|
!*.conf
|
||||||
!*.md
|
!*.md
|
||||||
!.gitignore
|
!.gitignore
|
||||||
.env
|
.env
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# will skip folders with a leading "_" (indicating not used)
|
||||||
|
for d in ./[^_]*/ ; do (cd $d && docker compose up -d && cd ..); done
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# will skip folders with a leading "_" (indicating not used)
|
||||||
|
for d in ./[^_]*/ ; do (cd $d && docker compose down && cd ..); done
|
|
@ -0,0 +1,8 @@
|
||||||
|
services:
|
||||||
|
dragonfly:
|
||||||
|
container_name: redis # for compatibility
|
||||||
|
network_mode: host
|
||||||
|
ulimits:
|
||||||
|
memlock: -1
|
||||||
|
image: docker.dragonflydb.io/dragonflydb/dragonfly
|
||||||
|
restart: always
|
|
@ -0,0 +1,14 @@
|
||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
gpt-ai:
|
||||||
|
image: gpt-ai
|
||||||
|
container_name: gpt-ai
|
||||||
|
ports:
|
||||||
|
- 2101:2101
|
||||||
|
environment:
|
||||||
|
- TZ=Europe/Stockholm
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "curl", "-f", "http://localhost:2101/connect"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
|
@ -0,0 +1,16 @@
|
||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
homeassistant:
|
||||||
|
container_name: homeassistant
|
||||||
|
image: "ghcr.io/home-assistant/home-assistant:stable"
|
||||||
|
volumes:
|
||||||
|
- ${HOMEASSISTANT_PATH}/config:/config
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
- /run/dbus:/run/dbus:ro
|
||||||
|
devices:
|
||||||
|
- '/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_7cf0ee91b8d8ed11a8216b6162c613ac-if00-port0:/dev/ttyUSB0'
|
||||||
|
restart: unless-stopped
|
||||||
|
privileged: true
|
||||||
|
network_mode: host
|
||||||
|
environment:
|
||||||
|
- TZ=Europe/Stockholm
|
|
@ -0,0 +1,13 @@
|
||||||
|
version: "3.3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
homepage:
|
||||||
|
image: ghcr.io/benphelps/homepage:latest
|
||||||
|
container_name: homepage
|
||||||
|
network_mode: bridge
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- 800:3000
|
||||||
|
volumes:
|
||||||
|
- ${HOMEPAGE_CONFIG_PATH}:/app/config # Make sure your local config directory exists
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock # (optional) For docker integrations
|
|
@ -0,0 +1,31 @@
|
||||||
|
services:
|
||||||
|
jellyfin:
|
||||||
|
image: jellyfin/jellyfin
|
||||||
|
container_name: jellyfin
|
||||||
|
#user: 1000:1000
|
||||||
|
network_mode: 'host'
|
||||||
|
volumes:
|
||||||
|
- /mnt/data/storage/jellyfin/config:/config
|
||||||
|
- /mnt/data/storage/jellyfin/cache:/cache
|
||||||
|
- media:/media
|
||||||
|
- /mnt/data/downloads/complete:/downloads
|
||||||
|
|
||||||
|
#ports:
|
||||||
|
# - "8096:8096/tcp"
|
||||||
|
# - "8920:8920/tcp"
|
||||||
|
# - "1900:1900/udp"
|
||||||
|
# - "7359:7359/udp"
|
||||||
|
restart: 'unless-stopped'
|
||||||
|
# Optional - alternative address used for autodiscovery
|
||||||
|
#environment:
|
||||||
|
# - JELLYFIN_PublishedServerUrl=http://example.com
|
||||||
|
# Optional - may be necessary for docker healthcheck to pass if running in host network mode
|
||||||
|
extra_hosts:
|
||||||
|
- "host.docker.internal:host-gateway"
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
media:
|
||||||
|
driver_opts:
|
||||||
|
type: "nfs"
|
||||||
|
o: "addr=192.168.1.100,nfsvers=4"
|
||||||
|
device: ":/mnt/data/media/"
|
|
@ -1,59 +0,0 @@
|
||||||
version: '3.7'
|
|
||||||
|
|
||||||
# on naspi for remote docker stop commands:
|
|
||||||
# sudo visudo
|
|
||||||
# thord ALL=(ALL) NOPASSWD: /bin/systemctl start docker, /bin/systemctl stop docker
|
|
||||||
|
|
||||||
services:
|
|
||||||
kopia:
|
|
||||||
image: kopia/kopia:latest
|
|
||||||
hostname: kopia-host
|
|
||||||
container_name: kopia
|
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
vlan:
|
|
||||||
ipv4_address: 192.168.1.102
|
|
||||||
ports:
|
|
||||||
- 51515:51515
|
|
||||||
command:
|
|
||||||
- server
|
|
||||||
- start
|
|
||||||
- --disable-csrf-token-checks
|
|
||||||
- --insecure
|
|
||||||
- --address=0.0.0.0:51515
|
|
||||||
- --server-username=${KOPIA_USER_NAME}
|
|
||||||
- --server-password=${KOPIA_USER_PASSWORD}
|
|
||||||
environment:
|
|
||||||
# Set repository password
|
|
||||||
KOPIA_PASSWORD: "${KOPIA_PASSWORD}"
|
|
||||||
USER: "User"
|
|
||||||
volumes:
|
|
||||||
# Mount local folders needed by kopia
|
|
||||||
- /opt/kopia/config:/app/config
|
|
||||||
- /opt/kopia/cache:/app/cache
|
|
||||||
- /opt/kopia/logs:/app/logs
|
|
||||||
# Use NFS volume for storage
|
|
||||||
- nfs-naspi:/data/naspi:ro
|
|
||||||
# Mount repository location locally
|
|
||||||
- /opt/kopia/repository:/repository
|
|
||||||
# Mount path for browsing mounted snapshots
|
|
||||||
- /tmp:/tmp:shared
|
|
||||||
- /home/thord/.config/rclone:/app/rclone
|
|
||||||
- /usr/bin/rclone:/app/rclone-bin
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
nfs-naspi:
|
|
||||||
driver: local
|
|
||||||
driver_opts:
|
|
||||||
type: nfs
|
|
||||||
o: addr=${NFS_SERVER_IP},ro,nolock
|
|
||||||
device: ":/mnt/data"
|
|
||||||
networks:
|
|
||||||
vlan:
|
|
||||||
driver: macvlan
|
|
||||||
driver_opts:
|
|
||||||
parent: eno1 # Adjust the parent interface based on your host configuration
|
|
||||||
ipam:
|
|
||||||
config:
|
|
||||||
- subnet: 192.168.1.0/24
|
|
||||||
gateway: 192.168.1.1 # Adjust the gateway based on your network configuration
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
version: '3.1'
|
||||||
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
db:
|
||||||
|
container_name: mariadb-main
|
||||||
|
image: mariadb
|
||||||
|
restart: always
|
||||||
|
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
||||||
|
volumes:
|
||||||
|
- /mnt/data/mysql:/var/lib/mysql
|
||||||
|
environment:
|
||||||
|
- MARIADB_ROOT_PASSWORD=${MARIADB_ROOT_PASSWORD}
|
||||||
|
- MARIADB_DATABASE=${MARIADB_DATABASE}
|
||||||
|
- MARIADB_USER=${MARIADB_USER}
|
||||||
|
- MARIADB_PASSWORD=${MARIADB_PASSWORD}
|
||||||
|
|
||||||
|
adminer:
|
||||||
|
container_name: mariadb-adminer
|
||||||
|
image: adminer
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 8082:8080
|
|
@ -1,18 +1,17 @@
|
||||||
version: '3.3'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
minecraft-server:
|
minecraft-server:
|
||||||
volumes:
|
volumes:
|
||||||
- ./server:/data
|
- /mnt/data/minecraft/server:/data
|
||||||
- ./mods:/data/mods
|
- /mnt/data/minecraft/mods/server:/data/mods
|
||||||
environment:
|
environment:
|
||||||
- TYPE=FABRIC
|
- TYPE=FABRIC
|
||||||
- MEMORY=4G
|
- MEMORY=4G
|
||||||
- VERSION=1.20.4
|
- VERSION=1.20.1
|
||||||
- EULA=TRUE
|
- EULA=TRUE
|
||||||
- MOTD=Hej och välkommen!
|
- MOTD=Hej och välkommen!
|
||||||
ports:
|
ports:
|
||||||
- '25565:25565'
|
- '25565:25565'
|
||||||
|
- '8123:8123' # dynmap
|
||||||
container_name: minecraft
|
container_name: minecraft
|
||||||
image: itzg/minecraft-server
|
image: itzg/minecraft-server
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
unsupported_mods=(
|
||||||
|
"distant"
|
||||||
|
"mod-loading"
|
||||||
|
"sound-physics-remastered"
|
||||||
|
)
|
|
@ -0,0 +1,46 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
#echo "Stopping container..."
|
||||||
|
docker-compose down
|
||||||
|
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
exit $?
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Container stopped"
|
||||||
|
echo "Performing upgrade..."
|
||||||
|
sleep 2
|
||||||
|
|
||||||
|
# Function to upgrade ferium and copy mods
|
||||||
|
upgrade_mods() {
|
||||||
|
rm mods/*.jar &&
|
||||||
|
ferium upgrade &&
|
||||||
|
rm mods/server/*.jar &&
|
||||||
|
rm mods/client/*.jar &&
|
||||||
|
cp mods/*.jar mods/server/ &&
|
||||||
|
cp mods/*.jar mods/client/ &&
|
||||||
|
chown -R thord:docker mods/*
|
||||||
|
chmod -R 755 mods/*
|
||||||
|
}
|
||||||
|
|
||||||
|
remove_unsupported_mod() {
|
||||||
|
local mod_name="$1"
|
||||||
|
|
||||||
|
find ./mods/server/ -maxdepth 1 -iname "${mod_name}*.jar" -exec rm {} \; && \
|
||||||
|
echo "Removed non-server mod: $mod_name"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Call the functions
|
||||||
|
upgrade_mods
|
||||||
|
|
||||||
|
# List of unsupported mods to remove
|
||||||
|
source unsupported.sh
|
||||||
|
|
||||||
|
# Loop through unsupported mods and remove them
|
||||||
|
for mod in "${unsupported_mods[@]}"; do
|
||||||
|
remove_unsupported_mod "$mod"
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "Starting container"
|
||||||
|
|
||||||
|
docker-compose up -d
|
|
@ -0,0 +1,3 @@
|
||||||
|
Remember to move the cronjob if moving between servers:
|
||||||
|
|
||||||
|
*/5 * * * * /usr/bin/docker container exec -u www-data nextcloud php -f cron.php --define apc.enable_cli=1
|
|
@ -0,0 +1,31 @@
|
||||||
|
version: '2'
|
||||||
|
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
container_name: nextcloud
|
||||||
|
image: nextcloud
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 8080:80
|
||||||
|
volumes:
|
||||||
|
- app:/var/www/html
|
||||||
|
- /mnt/data/nextcloud/files:/var/www/html/data
|
||||||
|
- /mnt/data/nextcloud/config:/var/www/html/config
|
||||||
|
environment:
|
||||||
|
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
|
||||||
|
- MYSQL_DATABASE=${MYSQL_DATABASE}
|
||||||
|
- MYSQL_USER=${MYSQL_USER}
|
||||||
|
- MYSQL_HOST=${MYSQL_HOST}
|
||||||
|
networks:
|
||||||
|
- mariadb_default
|
||||||
|
- proxy
|
||||||
|
|
||||||
|
networks:
|
||||||
|
mariadb_default:
|
||||||
|
external: true
|
||||||
|
proxy:
|
||||||
|
name: proxy
|
||||||
|
external: true
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
app:
|
|
@ -0,0 +1,25 @@
|
||||||
|
version: "3"
|
||||||
|
|
||||||
|
# Remember to run: docker network create proxy
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
services:
|
||||||
|
reverse-proxy:
|
||||||
|
container_name: nginx-proxy-manager
|
||||||
|
image: "jc21/nginx-proxy-manager:latest"
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "80:80"
|
||||||
|
- "443:443"
|
||||||
|
- "81:81"
|
||||||
|
environment:
|
||||||
|
DB_SQLITE_FILE: "/data/database.sqlite"
|
||||||
|
DISABLE_IPV6: "true"
|
||||||
|
volumes:
|
||||||
|
- /mnt/data/storage/nginx-proxy/data:/data
|
||||||
|
- /mnt/data/storage/nginx-proxy/letsencrypt:/etc/letsencrypt
|
||||||
|
networks:
|
||||||
|
- proxy
|
|
@ -0,0 +1,6 @@
|
||||||
|
services:
|
||||||
|
opentts:
|
||||||
|
container_name: opentts
|
||||||
|
ports:
|
||||||
|
- 5500:5500
|
||||||
|
image: synesthesiam/opentts
|
|
@ -0,0 +1,12 @@
|
||||||
|
version: '3.3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
run:
|
||||||
|
volumes:
|
||||||
|
- /mnt/data/storage/owncast:/app/data
|
||||||
|
ports:
|
||||||
|
- '8085:8080'
|
||||||
|
- '1935:1935'
|
||||||
|
image: gabekangas/owncast:latest
|
||||||
|
restart: always
|
||||||
|
container_name: owncast
|
|
@ -0,0 +1,34 @@
|
||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
|
||||||
|
services:
|
||||||
|
pihole:
|
||||||
|
container_name: pihole
|
||||||
|
image: pihole/pihole:latest
|
||||||
|
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
|
||||||
|
network_mode: host
|
||||||
|
#ports:
|
||||||
|
#- "53:53/tcp"
|
||||||
|
#- "53:53/udp"
|
||||||
|
#- "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
|
||||||
|
#- "8081:80/tcp"
|
||||||
|
environment:
|
||||||
|
WEB_PORT: 8081
|
||||||
|
TZ: 'Europe/Stockholm'
|
||||||
|
# WEBPASSWORD: 'set a secure password here or it will be random'
|
||||||
|
# Volumes store your data between container upgrades
|
||||||
|
volumes:
|
||||||
|
- '/mnt/data/storage/pihole/etc-pihole:/etc/pihole'
|
||||||
|
- '/mnt/data/storage/pihole/etc-dnsmasq.d:/etc/dnsmasq.d'
|
||||||
|
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed
|
||||||
|
restart: unless-stopped
|
||||||
|
# networks:
|
||||||
|
# - proxy
|
||||||
|
|
||||||
|
#networks:
|
||||||
|
# default:
|
||||||
|
# external: true
|
||||||
|
# proxy:
|
||||||
|
# external: true
|
|
@ -0,0 +1,20 @@
|
||||||
|
version: '3.8'
|
||||||
|
services:
|
||||||
|
pingvin-share:
|
||||||
|
container_name: pingvin-share
|
||||||
|
image: stonith404/pingvin-share
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- 3000:3000
|
||||||
|
volumes:
|
||||||
|
- "./data:/opt/app/backend/data"
|
||||||
|
- "./data/images:/opt/app/frontend/public/img"
|
||||||
|
# Optional: If you add ClamAV, uncomment the following to have ClamAV start first.
|
||||||
|
# depends_on:
|
||||||
|
# clamav:
|
||||||
|
# condition: service_healthy
|
||||||
|
# Optional: Add ClamAV (see README.md)
|
||||||
|
# ClamAV is currently only available for AMD64 see https://github.com/Cisco-Talos/clamav/issues/482
|
||||||
|
# clamav:
|
||||||
|
# restart: unless-stopped
|
||||||
|
# image: clamav/clamav
|
|
@ -1,14 +0,0 @@
|
||||||
services:
|
|
||||||
portainer:
|
|
||||||
image: portainer/portainer-ce:latest
|
|
||||||
container_name: portainer
|
|
||||||
restart: always
|
|
||||||
ports:
|
|
||||||
- "8000:8000"
|
|
||||||
- "9443:9443"
|
|
||||||
volumes:
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
- portainer_data:/data
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
portainer_data:
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
version: '3.3'
|
||||||
|
services:
|
||||||
|
redis:
|
||||||
|
container_name: redis
|
||||||
|
image: redis:latest
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external: true
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ $(basename $(readlink $PWD)) != $(hostname) ]; then
|
||||||
|
echo "Incorrect directory for host"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# will skip folders with a leading "_" (indicating not used)
|
||||||
|
|
||||||
|
for d in ./[^_]*/ ; do (cd $d && docker-compose up -d && cd ..); done
|
|
@ -0,0 +1,35 @@
|
||||||
|
# APPNICENAME=Stash
|
||||||
|
# APPDESCRIPTION=An organizer for your ****, written in Go
|
||||||
|
version: '3.4'
|
||||||
|
|
||||||
|
services:
|
||||||
|
stash:
|
||||||
|
image: stashapp/stash:latest
|
||||||
|
container_name: stash
|
||||||
|
restart: always
|
||||||
|
## the container's port must be the same with the STASH_PORT in the environment section
|
||||||
|
ports:
|
||||||
|
- "9999:9999"
|
||||||
|
## If you intend to use stash's DLNA functionality uncomment the below network mode and comment out the above ports section
|
||||||
|
# network_mode: host
|
||||||
|
logging:
|
||||||
|
driver: "json-file"
|
||||||
|
options:
|
||||||
|
max-file: "10"
|
||||||
|
max-size: "2m"
|
||||||
|
environment:
|
||||||
|
- STASH_STASH=data/
|
||||||
|
- STASH_GENERATED=generated/
|
||||||
|
- STASH_METADATA=metadata/
|
||||||
|
- STASH_CACHE=cache/
|
||||||
|
## Adjust below to change default port (9999)
|
||||||
|
- STASH_PORT=9999
|
||||||
|
volumes:
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
## Adjust below paths (the left part) to your liking.
|
||||||
|
## E.g. you can change ./config:/root/.stash to ./stash:/root/.stash
|
||||||
|
- /mnt/data/storage/stash-meta/config:/root/.stash
|
||||||
|
- /mnt/data/storage/stash-meta/metadata:/metadata
|
||||||
|
- /mnt/data/storage/stash-meta/cache:/cache
|
||||||
|
- /mnt/data/storage/stash-meta/generated:/generated
|
||||||
|
- /mnt/data/storage/stash:/data
|
|
@ -0,0 +1,14 @@
|
||||||
|
services:
|
||||||
|
nginx:
|
||||||
|
container_name: naspi-static
|
||||||
|
volumes:
|
||||||
|
- /var/www/static:/usr/share/nginx/html:ro
|
||||||
|
ports:
|
||||||
|
- 8888:80
|
||||||
|
image: nginx
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external: true
|
|
@ -0,0 +1,45 @@
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
server_name localhost;
|
||||||
|
|
||||||
|
#access_log /var/log/nginx/host.access.log main;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
root /usr/share/nginx/html;
|
||||||
|
index index.html index.htm;
|
||||||
|
}
|
||||||
|
|
||||||
|
#error_page 404 /404.html;
|
||||||
|
|
||||||
|
# redirect server error pages to the static page /50x.html
|
||||||
|
#
|
||||||
|
error_page 500 502 503 504 /50x.html;
|
||||||
|
location = /50x.html {
|
||||||
|
root /usr/share/nginx/html;
|
||||||
|
}
|
||||||
|
|
||||||
|
# proxy the PHP scripts to Apache listening on 127.0.0.1:80
|
||||||
|
#
|
||||||
|
#location ~ \.php$ {
|
||||||
|
# proxy_pass http://127.0.0.1;
|
||||||
|
#}
|
||||||
|
|
||||||
|
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
|
||||||
|
#
|
||||||
|
#location ~ \.php$ {
|
||||||
|
# root html;
|
||||||
|
# fastcgi_pass 127.0.0.1:9000;
|
||||||
|
# fastcgi_index index.php;
|
||||||
|
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
|
||||||
|
# include fastcgi_params;
|
||||||
|
#}
|
||||||
|
|
||||||
|
# deny access to .htaccess files, if Apache's document root
|
||||||
|
# concurs with nginx's one
|
||||||
|
#
|
||||||
|
#location ~ /\.ht {
|
||||||
|
# deny all;
|
||||||
|
#}
|
||||||
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ version: '3.9'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
container_name: nginx-server
|
container_name: thinkcentre-static
|
||||||
image: nginx:latest
|
image: nginx:latest
|
||||||
ports:
|
ports:
|
||||||
- '80:80'
|
- '80:80'
|
|
@ -0,0 +1,19 @@
|
||||||
|
services:
|
||||||
|
syncthing:
|
||||||
|
image: lscr.io/linuxserver/syncthing:latest
|
||||||
|
container_name: syncthing
|
||||||
|
hostname: syncthing #optional
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=Etc/UTC
|
||||||
|
volumes:
|
||||||
|
- /mnt/data/storage/syncthing/config:/config
|
||||||
|
- /mnt/data/storage/syncthing/data:/data
|
||||||
|
# - /path/to/data2:/data2
|
||||||
|
ports:
|
||||||
|
- 8384:8384
|
||||||
|
- 22000:22000/tcp
|
||||||
|
- 22000:22000/udp
|
||||||
|
- 21027:21027/udp
|
||||||
|
restart: unless-stopped
|
|
@ -0,0 +1,23 @@
|
||||||
|
version: "2.1"
|
||||||
|
|
||||||
|
services:
|
||||||
|
transmission:
|
||||||
|
image: lscr.io/linuxserver/transmission:latest
|
||||||
|
container_name: transmission
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=Europe/Stockholm
|
||||||
|
- USER=${USERNAME} #optional
|
||||||
|
- PASS=${PASSWORD} #optional
|
||||||
|
- WHITELIST= #optional
|
||||||
|
- PEERPORT= #optional
|
||||||
|
- HOST_WHITELIST= #optional
|
||||||
|
volumes:
|
||||||
|
- /mnt/data/storage/transmission:/config
|
||||||
|
- /mnt/data/downloads:/downloads
|
||||||
|
ports:
|
||||||
|
- 9091:9091
|
||||||
|
- 51413:51413
|
||||||
|
- 51413:51413/udp
|
||||||
|
restart: unless-stopped
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
docker pull containrrr/watchtower
|
||||||
|
docker run -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --run-once
|
|
@ -0,0 +1,17 @@
|
||||||
|
version: '3.3'
|
||||||
|
services:
|
||||||
|
server:
|
||||||
|
container_name: vaultwarden
|
||||||
|
volumes:
|
||||||
|
- /mnt/data/storage/vaultwarden:/data
|
||||||
|
ports:
|
||||||
|
- '5080:80'
|
||||||
|
image: 'vaultwarden/server:latest'
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
environment:
|
||||||
|
ADMIN_TOKEN: ${ADMIN_TOKEN}
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external: true
|
Loading…
Reference in New Issue