This commit is contained in:
Shaun Collins
2026-03-13 12:21:19 +00:00
committed by shaun collins
commit a0530fb095
31 changed files with 303214 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
.idea
Ace/
Database/
BoilerPlate/
StuShifters/
Gitea/gitea/
Gitea/mysql/
Minecraft/docker/
NginxReverseProxy/data/
NginxReverseProxy/letsencrypt
Prunemate/logs/
Prunemate/config/
Scanopy/data
JellyFin/Gluetun
JellyFin/JellySeerr
JellyFin/Prowlarr
JellyFin/Radarr
JellyFin/Sonarr
+5
View File
@@ -0,0 +1,5 @@
up:
docker-compose up -d
down:
docker-compose down
+13
View File
@@ -0,0 +1,13 @@
services:
audiobookshelf:
image: ghcr.io/advplyr/audiobookshelf:latest
ports:
- 13378:80
volumes:
- /mnt/e/Audio/books:/audiobooks
- /mnt/e/Audio/podcasts:/podcasts
- /mnt/e/Audio/config:/config
- /mnt/e/Audio/metadata:/metadata
environment:
- TZ=Europe/London
+3
View File
@@ -0,0 +1,3 @@
DATA_PATH=/mnt/e/Cloud/data
REDIS_PATH=/mnt/e/Cloud/redis
POSTGRES_PATH=/mnt/e/Cloud/postgres
+5
View File
@@ -0,0 +1,5 @@
up:
docker-compose up -d
down:
docker-compose down
+47
View File
@@ -0,0 +1,47 @@
services:
cloudreve:
image: cloudreve/cloudreve:latest
container_name: cloudreve-backend
depends_on:
- postgresql
- redis
restart: unless-stopped
ports:
- "5212:5212"
- "6888:6888"
- "6888:6888/udp"
environment:
- CR_CONF_Database.Type=postgres
- CR_CONF_Database.Host=postgresql
- CR_CONF_Database.User=cloudreve
- CR_CONF_Database.Name=cloudreve
- CR_CONF_Database.Port=5432
- CR_CONF_Redis.Server=redis:6379
volumes:
- "${DATA_PATH}:/cloudreve/data"
postgresql:
# Best practice: Pin to major version.
# NOTE: For major version jumps:
# backup & consult https://www.postgresql.org/docs/current/pgupgrade.html
image: postgres:17
container_name: postgresql
restart: unless-stopped
environment:
- POSTGRES_USER=cloudreve
- POSTGRES_DB=cloudreve
- POSTGRES_HOST_AUTH_METHOD=trust
volumes:
- database_postgres:/var/lib/postgresql/data
redis:
image: redis:latest
container_name: redis
restart: unless-stopped
volumes:
- redis_data:/data
volumes:
# backend_data:
database_postgres:
redis_data:
+1
View File
@@ -0,0 +1 @@
DOZZLE_PORT=8180
+5
View File
@@ -0,0 +1,5 @@
up:
docker-compose up -d
down:
docker-compose down
+13
View File
@@ -0,0 +1,13 @@
services:
dockhand:
image: fnsys/dockhand:latest
container_name: dockhand
restart: unless-stopped
ports:
- "3000:3000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- dockhand_data:/app/data
volumes:
dockhand_data:
+9
View File
@@ -0,0 +1,9 @@
# User & Timezone Settings
PUID=1000
PGID=1000
TZ=Europe/London
DB_PASSWORD=gittea
MYSQL_ROOT_PASSWORD=root
+5
View File
@@ -0,0 +1,5 @@
up:
docker-compose up -d
down:
docker-compose down
+44
View File
@@ -0,0 +1,44 @@
services:
gitea:
image: gitea/gitea:latest
container_name: gitea
environment:
- USER_UID=${PUID}
- USER_GID=${PGID}
- TZ=${TZ}
- GITEA__database__DB_TYPE=mysql
- GITEA__database__HOST=db:3306
- GITEA__database__NAME=gitea
- GITEA__database__USER=gitea
- GITEA__database__PASSWD=${DB_PASSWORD}
restart: always
networks:
- gitea
volumes:
- ./gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3001:3000"
- "222:22"
db:
image: mysql:8
container_name: gitea-db
environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- MYSQL_DATABASE=gitea
- MYSQL_USER=gitea
- MYSQL_PASSWORD=${DB_PASSWORD}
- TZ=${TZ}
restart: always
networks:
- gitea
volumes:
- ./mysql:/var/lib/mysql
networks:
gitea:
external: false
+7
View File
@@ -0,0 +1,7 @@
.env
Gluetun/*
JellySeerr/*
Prowlarr/*
Radarr/*
Sonarr/*
File diff suppressed because it is too large Load Diff
+22
View File
@@ -0,0 +1,22 @@
up:
docker-compose up -d
down:
docker-compose down
nginx-up:
cd ../NginxReverseProxy
docker-compose up -d
cd -
nginx-down:
cd ../NginxReverseProxy
docker-compose down
cd -
restart-glue:
docker-compose down gluetun
docker-compose up -d gluetun
sleep 5
docker logs gluetun
+226
View File
@@ -0,0 +1,226 @@
services:
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
volumes:
- /mnt/e/library:/config
- ${TVSHOWS}:/data/tvshows
- ${MOVIES}:/data/movies
ports:
- "8096:8096"
- "8920:8920"
- "7359:7359/udp"
- "1900:1900/udp"
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8096/health"]
start_period: 30s
timeout: 5s
interval: 30s
retries: 3
networks:
- lingen
jellyseerr:
image: ghcr.io/fallenbagel/jellyseerr:latest
init: true
container_name: jellyseerr
environment:
- LOG_LEVEL=debug
- TZ=${TZ}
- PORT=5055
ports:
- "5055:5055"
volumes:
- ./JellySeerr/config:/app/config
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:5055/api/v1/status || exit 1
start_period: 20s
timeout: 3s
interval: 15s
retries: 3
restart: unless-stopped
networks:
- lingen
sonarr:
image: lscr.io/linuxserver/sonarr:latest
container_name: sonarr
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
volumes:
- ./Sonarr/data:/config
- ./Sonarr/downloads:/downloads
- ${TVSHOWS}:/data/tvshows
- ${MOVIES}:/data/movies
- ${DOWNLOADS}:/data/downloads
ports:
- "8989:8989"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8989/ping"]
start_period: 30s
timeout: 5s
interval: 30s
retries: 3
restart: unless-stopped
networks:
- lingen
prowlarr:
container_name: prowlarr
image: ghcr.io/hotio/prowlarr
ports:
- "9696:9696"
environment:
- PUID=${PUID}
- PGID=${PGID}
- UMASK=002
- TZ=${TZ}
volumes:
- ./Prowlarr/config:/config
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9696/api/v1/health"]
start_period: 30s
timeout: 5s
interval: 30s
retries: 3
networks:
- lingen
radarr:
container_name: radarr
image: ghcr.io/hotio/radarr
ports:
- "7878:7878"
environment:
- PUID=${PUID}
- PGID=${PGID}
- UMASK=002
- TZ=${TZ}
volumes:
- ./Radarr/config:/config
- ./Radarr/data:/data
- ./Radarr/downloads:/downloads
- ${TVSHOWS}:/data/tvshows
- ${MOVIES}:/data/movies
- ${DOWNLOADS}:/data/downloads
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7878/ping"]
start_period: 30s
timeout: 5s
interval: 30s
retries: 3
networks:
- lingen
qbittorrent:
image: lscr.io/linuxserver/qbittorrent:latest
container_name: qbittorrent
ports:
- "8080:8080"
- "6881:6881"
- "6881:6881/udp"
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
- WEBUI_PORT=8080
volumes:
- ./Radarr/config:/config
- ${TVSHOWS}:/data/tvshows
- ${MOVIES}:/data/movies
- ${DOWNLOADS}:/data/downloads
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080"]
start_period: 30s
timeout: 5s
interval: 30s
retries: 3
restart: unless-stopped
networks:
- lingen
flaresolverr:
image: ghcr.io/flaresolverr/flaresolverr:latest
container_name: flaresolverr
environment:
- LOG_LEVEL=${LOG_LEVEL:-info}
- LOG_HTML=${LOG_HTML:-false}
- CAPTCHA_SOLVER=${CAPTCHA_SOLVER:-none}
- TZ=${TZ}
ports:
- ${PORT:-8191}:8191
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8191"]
start_period: 30s
timeout: 5s
interval: 30s
retries: 3
restart: unless-stopped
networks:
- lingen
gluetun-webui:
image: scuzza/gluetun-webui:latest
container_name: gluetun-webui
ports:
- "127.0.0.1:3002:3000"
environment:
- GLUETUN_CONTROL_URL=http://gluetun:8000
- TRUST_PROXY=true
# - GLUETUN_API_KEY=${GLUETUN_API_KEY}
networks:
- lingen
restart: unless-stopped
read_only: true
tmpfs:
- /tmp
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:3002/api/health" ]
interval: 30s
timeout: 5s
start_period: 10s
retries: 3
gluetun:
image: qmcgaw/gluetun
container_name: gluetun
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun:/dev/net/tun
environment:
- VPN_SERVICE_PROVIDER=protonvpn
- VPN_TYPE=wireguard
- WIREGUARD_PRIVATE_KEY=${WIREGUARD_PRIVATE_KEY}
- SERVER_COUNTRIES=${SERVER_COUNTRIES}
- API_LOG_LEVEL=info
volumes:
- /home/shaun/Projects/JellyFin/Gluetun/auth:/gluetun/auth
ports:
- "51820:51820/udp"
- "8000:8000"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/v1/vpn/status"]
start_period: 30s
timeout: 5s
interval: 30s
retries: 3
networks:
- lingen
restart: unless-stopped
networks:
lingen:
driver: bridge
+5
View File
@@ -0,0 +1,5 @@
up:
docker-compose up -d
down:
docker-compose down
+18
View File
@@ -0,0 +1,18 @@
services:
crafty:
container_name: crafty_container
image: registry.gitlab.com/crafty-controller/crafty-4:latest
restart: always
environment:
- TZ=Etc/UTC
ports:
- "8443:8443" # HTTPS
- "8123:8123" # DYNMAP
- "19132:19132/udp" # BEDROCK
- "25500-25600:25500-25600" # MC SERV PORT RANGE
volumes:
- ./docker/backups:/crafty/backups
- ./docker/logs:/crafty/logs
- ./docker/servers:/crafty/servers
- ./docker/config:/crafty/app/config
- ./docker/import:/crafty/import
+5
View File
@@ -0,0 +1,5 @@
up:
docker-compose up -d
down:
docker-compose down
+14
View File
@@ -0,0 +1,14 @@
services:
newt:
image: fosrl/newt
container_name: newt
restart: unless-stopped
environment:
- PANGOLIN_ENDPOINT=https://pangolin.shaunc.co.uk
- NEWT_ID=gvtjhqk6jt0nhm8
- NEWT_SECRET=7embjtb7eg2c1tl8njr6igfk1lm6fooz6df2bfiqqzwfulbp
networks:
- lingen
networks:
lingen:
driver: bridge
+5
View File
@@ -0,0 +1,5 @@
up:
docker-compose up -d
down:
docker-compose down
+280
View File
@@ -0,0 +1,280 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lingen Navigator</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
background: linear-gradient(to right, #2F0743, #41295a);
color: #FFF;
}
h1 {
font-size: 2rem;
font-weight: bold;
margin: 3rem 0;
text-align: center;
position: relative;
color: #FFF;
text-transform: uppercase;
letter-spacing: 2px;
}
h1:after {
content: "";
position: absolute;
left: 50%;
bottom: -10px;
transform: translateX(-50%);
width: 100px;
height: 4px;
background: linear-gradient(to right, #735fb4, #3a8f78);
border-radius: 10px;
}
h1:hover {
text-shadow: 0 0 10px #FFF, 0 0 20px #735fb4, 0 0 30px #735fb4;
}
.button-container {
display: flex;
flex-wrap: wrap;
gap: 5px;
max-width: 800px;
justify-content: center;
}
.tooltip-container {
position: relative;
display: inline-block;
}
.tooltip-container .tooltip-text {
visibility: hidden;
background: linear-gradient(to right, #591c60, #5b3ab8);
color: #fff;
text-align: center;
padding: 8px;
border-radius: 5px;
position: absolute;
bottom: 125%;
left: 50%;
transform: translateX(-50%);
opacity: 0;
transition: opacity 0.3s ease;
font-size: 14px;
font-weight: 500;
z-index: 10;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}
.tooltip-container .tooltip-text::after {
content: "";
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
border-width: 5px;
border-style: solid;
border-color: #5b3ab8 transparent transparent transparent;
}
.tooltip-container:hover .tooltip-text {
visibility: visible;
opacity: 1;
}
.link-button {
display: flex;
align-items: center;
padding: 15px 20px;
border: none;
border-radius: 30px;
background: linear-gradient(to right, #591c60, #5b3ab8);
color: #FFF;
font-size: 16px;
font-weight: 500;
cursor: pointer;
text-decoration: none;
text-align: center;
transition: all 0.4s ease;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
.link-button i {
font-size: 20px;
color: #fff;
margin-right: 10px;
}
.link-button:hover {
background: linear-gradient(to right, #5b3ab8, #17544d);
transform: scale(1.05);
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}
.link-button:hover i {
color: #ffcc00;
}
.link-button.inactive {
background: #555;
cursor: not-allowed;
color: #aaa;
box-shadow: none;
}
.link-button.inactive i {
color: #aaa;
}
.code-container {
position: relative;
background-color: #21252b;
color: #abb2bf;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
padding: 20px;
font-family: 'Courier New', Courier, monospace;
font-size: 14px;
width: 90%;
max-width: 800px;
overflow-x: auto;
margin-top: 20px;
}
.code-container pre {
margin: 0;
white-space: pre-wrap;
word-wrap: break-word;
}
.copy-button {
position: absolute;
top: 10px;
right: 10px;
background-color: #735fb4;
color: #FFF;
border: none;
border-radius: 5px;
padding: 5px 10px;
font-size: 12px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.copy-button:hover {
background-color: #3a8f78;
}
@media (max-width: 768px) {
.link-button {
font-size: 14px;
padding: 10px 20px;
}
h1 {
font-size: 1.5rem;
}
.tooltip-container .tooltip-text {
width: 150px;
}
}
</style>
</head>
<body>
<h1>Lingen Services</h1>
<div class="button-container"></div>
<h1>Lingen Hosts</h1>
<div class="code-container">
<button class="copy-button">Copy</button>
<pre></pre>
</div>
<script>
const sites = [
{ ipAddress: "192.168.40.5", port: "8096", name: "JellyFin", description: "Stream media", site: "jellyfin", icon: "fa-solid fa-film" },
{ ipAddress: "192.168.40.5", port: "5055", name: "JellySeerr", description: "Request and find media", site: "jellyseerr", icon: "fa-solid fa-search" },
{ ipAddress: "192.168.40.5", port: "8989", name: "Sonarr", description: "TV Arr", site: "sonarr", icon: "fa-solid fa-tv" },
{ ipAddress: "192.168.40.5", port: "7878", name: "Radarr", description: "Movies Arr", site: "radarr", icon: "fa-solid fa-video" },
{ ipAddress: "192.168.40.5", port: "9696", name: "Prowlarr", description: "Torrent indexers", site: "prowlarr", icon: "fa-solid fa-cloud-download-alt" },
{ ipAddress: "192.168.40.5", port: "13378", name: "Audio books", description: "Audio book service", site: "books", icon: "fa-solid fa-book" },
{ ipAddress: "192.168.40.5", port: "5212", name: "Cloud Drive", description: "Google Drive alternative", site: "cloud", icon: "fa-solid fa-cloud" },
{ ipAddress: "192.168.40.5", port: "3000", name: "DockHand", description: "Docker monitoring", site: "monitor", icon: "fa-brands fa-docker" },
{ ipAddress: "192.168.40.5", port: "3001", name: "Gittea", description: "Git service", site: "git", icon: "fa-solid fa-code-branch" },
{ ipAddress: "192.168.40.5", port: "81", name: "Nginx Reverse Proxy", description: "Provide site routing", site: "nginx", icon: "fa-solid fa-network-wired" },
{ ipAddress: "192.168.40.5", port: "8080", name: "QBit Torrent", description: "Torrent client", site: "torrent", icon: "fa-solid fa-download" },
{ ipAddress: "192.168.40.5", port: "7676", name: "PruneMate", description: "Clean up Docker data", site: "prune", icon: "fa-solid fa-trash" },
{ ipAddress: "192.168.40.5", port: "60072", name: "Scanopy", description: "Scan and organize your network", site: "scan", icon: "fa-solid fa-satellite-dish" },
{ ipAddress: "192.168.40.5", scheme: 'https://', port: "8443", name: "Minecraft", description: "Crafty Minecraft server admin", site: "minecraft", icon: "fa-solid fa-cubes" },
{ ipAddress: "192.168.40.5", port: "8081", name: "IT Tools", description: "Collection of tools for IT Dev", site: "tools", icon: "fa-solid fa-tools" }
];
const buttonContainer = document.querySelector(".button-container");
const codeContainerPre = document.querySelector(".code-container pre");
const domain = "lingen";
async function checkServiceStatus(url) {
try {
const response = await fetch(url, { method: "HEAD", mode: "no-cors" });
return true;
} catch (error) {
return false;
}
}
sites.forEach(async (site) => {
const tooltipContainer = document.createElement("div");
tooltipContainer.className = "tooltip-container";
const link = document.createElement("a");
const defaultScheme = "http://";
let scheme = site.scheme || defaultScheme;
const url = `${scheme}${site.ipAddress}:${site.port}`;
link.href = url;
link.target = "_blank";
link.className = "link-button";
link.innerHTML = `<i class="${site.icon}"></i>${site.name}`;
const tooltip = document.createElement("div");
tooltip.className = "tooltip-text";
tooltip.textContent = site.description;
tooltipContainer.appendChild(link);
tooltipContainer.appendChild(tooltip);
buttonContainer.appendChild(tooltipContainer);
codeContainerPre.textContent += `${site.ipAddress} ${site.site}.${domain}\n`;
const isActive = await checkServiceStatus(url);
if (!isActive) {
link.classList.add("inactive");
link.removeAttribute("href");
}
});
const copyButton = document.querySelector(".copy-button");
copyButton.addEventListener("click", () => {
const codeText = codeContainerPre.textContent;
navigator.clipboard.writeText(codeText).then(() => {
copyButton.textContent = "Copied!";
setTimeout(() => (copyButton.textContent = "Copy"), 2000);
}).catch(() => {
copyButton.textContent = "Error!";
setTimeout(() => (copyButton.textContent = "Copy"), 2000);
});
});
</script>
</body>
</html>
+22
View File
@@ -0,0 +1,22 @@
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
container_name: 'nginx-proxy-manager'
restart: unless-stopped
environment:
TZ: "Europe/London"
ports:
- '80:80'
- '81:81'
- '443:443'
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
networks:
- lingen
networks:
lingen:
driver: bridge
+5
View File
@@ -0,0 +1,5 @@
up:
docker-compose up -d
down:
docker-compose down
+19
View File
@@ -0,0 +1,19 @@
services:
prunemate:
image: anoniemerd/prunemate:latest # Supports amd64 and arm64
container_name: prunemate
ports:
- "7676:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./logs:/var/log
- ./config:/config
environment:
- PRUNEMATE_TZ=Europe/London # Change this to your desired timezone
- PRUNEMATE_TIME_24H=true #false for 12-Hour format (AM/PM)
# Optional: Enable authentication (generate hash with: docker run --rm anoniemerd/prunemate python prunemate.py --gen-hash "password")
# - PRUNEMATE_AUTH_USER=admin
# - PRUNEMATE_AUTH_PASSWORD_HASH=your_base64_encoded_hash_here
restart: unless-stopped
+37
View File
@@ -0,0 +1,37 @@
# README
## Overview
This repository contains multiple services, used within the Lingen Homelab.
They are all controlled via a `Makefile`
![Lingen landing page](lingen.png)
---
## Available Services
Here is a list of available services within the repository:
1. **AudioBookShelf**
2. **Cloudreve**
3. **Dockhand**
4. **Gitea**
5. **Jellyfin**
6. **Gluetun**
7. **JellySeerr**
8. **Prowlarr**
9. **Radarr**
10. **Sonarr**
11. **Minecraft**
12. **Scanopy**
13. **NginxReverseProxy**
---
## General Commands
The repository uses a `Makefile` to simplify service management across the project. Below are the common commands available:
- `make up` Bring service up
- `make down` Bring service down
+5
View File
@@ -0,0 +1,5 @@
up:
docker-compose up -d
down:
docker-compose down
+85
View File
@@ -0,0 +1,85 @@
name: scanopy
x-scanopy-env: &scanopy-env
SCANOPY_LOG_LEVEL: ${SCANOPY_LOG_LEVEL:-info}
SCANOPY_SERVER_PORT: ${SCANOPY_SERVER_PORT:-60072}
SCANOPY_DAEMON_PORT: ${SCANOPY_DAEMON_PORT:-60073}
services:
daemon:
image: ghcr.io/scanopy/scanopy/daemon:latest
container_name: scanopy-daemon
network_mode: host
privileged: true
restart: unless-stopped
ports:
- "${SCANOPY_DAEMON_PORT:-60073}:${SCANOPY_DAEMON_PORT:-60073}"
environment:
<<: *scanopy-env
SCANOPY_SERVER_URL: ${SCANOPY_SERVER_URL:-http://127.0.0.1:60072}
SCANOPY_PORT: ${SCANOPY_DAEMON_PORT:-60073}
SCANOPY_BIND_ADDRESS: ${SCANOPY_BIND_ADDRESS:-0.0.0.0}
SCANOPY_NAME: ${SCANOPY_NAME:-scanopy-daemon}
SCANOPY_HEARTBEAT_INTERVAL: ${SCANOPY_HEARTBEAT_INTERVAL:-30}
SCANOPY_MODE: ${SCANOPY_MODE:-Push}
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:${SCANOPY_DAEMON_PORT:-60073}/api/health || exit 1"]
interval: 5s
timeout: 3s
retries: 15
volumes:
- daemon-config:/root/.config/daemon
# Comment out the line below to disable docker discovery
- /var/run/docker.sock:/var/run/docker.sock:ro
postgres:
image: postgres:17-alpine
environment:
POSTGRES_DB: scanopy
POSTGRES_USER: postgres
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-password}
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5
restart: unless-stopped
networks:
- scanopy
server:
image: ghcr.io/scanopy/scanopy/server:latest
ports:
- "${SCANOPY_SERVER_PORT:-60072}:${SCANOPY_SERVER_PORT:-60072}"
environment:
<<: *scanopy-env
SCANOPY_DATABASE_URL: postgresql://postgres:${POSTGRES_PASSWORD:-password}@postgres:5432/scanopy
SCANOPY_WEB_EXTERNAL_PATH: /app/static
SCANOPY_PUBLIC_URL: ${SCANOPY_PUBLIC_URL:-http://localhost:${SCANOPY_SERVER_PORT:-60072}}
# How server reaches integrated daemon
# 172.17.0.1 is Docker's default bridge gateway. If your's is different, make sure to change it.
SCANOPY_INTEGRATED_DAEMON_URL: http://172.17.0.1:${SCANOPY_DAEMON_PORT:-60073}
volumes:
- ./data:/data
depends_on:
postgres:
condition: service_healthy
daemon:
condition: service_healthy
restart: unless-stopped
networks:
- scanopy
volumes:
postgres_data:
daemon-config:
networks:
scanopy:
driver: bridge
ipam:
config:
- subnet: 172.31.0.0/16
gateway: 172.31.0.1
+5
View File
@@ -0,0 +1,5 @@
up:
docker-compose up -d
down:
docker-compose down
+9
View File
@@ -0,0 +1,9 @@
version: '3.8'
services:
it-tools:
image: corentinth/it-tools:latest
container_name: it-tools
restart: unless-stopped
ports:
- "8081:80"
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 199 KiB