Compare commits

...

10 Commits

Author SHA1 Message Date
cd5b25e8ea Update uptime-kuma/docker-compose.yml 2025-11-27 17:05:40 +00:00
f0b6b72b73 Add uptime-kuma/docker-compose.yml 2025-11-27 17:00:05 +00:00
dda5a61594 Add testweb/docker-compose.yml 2025-11-27 16:59:34 +00:00
3b538712bb Add samba/docker-compose.yml 2025-11-27 16:59:02 +00:00
a95aec035e Add iperf3/docker-compose.yml 2025-11-27 16:57:07 +00:00
7ec2f82873 Add gitea/docker-compose.yml 2025-11-27 16:56:39 +00:00
a61e852e48 Update ghost/docker-compose.yml 2025-11-27 16:55:45 +00:00
19ed6cc788 Add ghost/docker-compose.yml 2025-11-27 16:54:03 +00:00
2694e0068b Add famhistweb/docker-compose.yml 2025-11-27 16:53:27 +00:00
2613c3f179 Add duplicati/docker-compose.yml 2025-11-27 16:52:44 +00:00
8 changed files with 234 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
services:
duplicati:
image: lscr.io/linuxserver/duplicati:2.2.0
container_name: duplicati
environment:
- PUID=0
- PGID=0
- TZ=Europe/London
- CLI_ARGS= #optional
- DUPLICATI__WEBSERVICE_INTERFACE=any
- DUPLICATI__DISABLE_DB_ENCRYPTION=false
- SETTINGS_ENCRYPTION_KEY="HOLLYHOCKHOUSE"
- DUPLICATI__WEBSERVICE_PASSWORD= #optional
volumes:
- /media/gv0/docker/duplicati/config:/config #
- /media/gv0/docker/duplicati/backups:/backups #
- /:/source
ports:
- 8200:8200
restart: unless-stopped
networks:
- caddy_net
networks:
caddy_net:
external: true

View File

@@ -0,0 +1,26 @@
services:
famhistweb:
image: httpd:latest
container_name: apache2
deploy:
placement:
constraints: [node.role == worker]
replicas: 1
restart: on-failure
ports:
- 8888:80
volumes:
- nas-share:/usr/local/apache2/htdocs
networks:
- caddy_net
volumes:
nas-share:
driver_opts:
type: cifs
o: "username=john,password=mary1948"
device: "//192.168.1.7/FamilyWebSite/" # share on VALHALLA
networks:
caddy_net:
external: true

60
ghost/docker-compose.yml Normal file
View File

@@ -0,0 +1,60 @@
services:
ghost:
image: ghost:6.3.1-alpine
container_name: ghost
deploy:
placement:
constraints: [node.role == worker]
replicas: 1
restart: always
ports:
- 2368:2368
environment:
# see https://ghost.org/docs/config/#configuration-options
database__client: mysql
database__connection__host: mysql
database__connection__user: ghost
database__connection__password: Carrot
database__connection__database: ghostdb
url: https://ctio.johnsnexus.click
#
mail__transport: "SMTP"
mail__options__host: "smtp.gmail.com"
# mail__options__host: "smtp.mailgun.org"
mail__options__port: "587"
mail__options__secureConnection: "false"
mail__options__auth__user: "revjohndanderson@gmail.com"
mail__options__auth__pass: "sorc lxqh araw lppf"
# mail__options__auth__user: "john@ctio.johnsnexus.click"
# mail__options__auth__pass: "c0deda0f21d7c6e2ce00915ec71b9a75-8b22cbee-99a4bf43"
# contrary to the default mentioned in the linked documentation, this image defaults to NODE_ENV=production (so development mode needs to be explic>
#NODE_ENV: development
depends_on:
- mysql
volumes:
- /media/gv0/docker/ghost/data:/var/lib/ghost/content
networks:
- caddy_net
mysql:
image: mysql:8.4.6 # latest or last version of version 8; Ghost doesn't recognise version 9
container_name: mysql
deploy:
placement:
constraints:
- node.labels.database == here
replicas: 1
restart: always
volumes:
- /media/gv0/docker/ghost/mysql:/var/lib/mysql:rw
environment:
MYSQL_ROOT_PASSWORD: Vegetable
MYSQL_DATABASE: ghostdb
MYSQL_USER: ghost
MYSQL_PASSWORD: Carrot
networks:
- caddy_net
networks:
caddy_net:
external: true

37
gitea/docker-compose.yml Normal file
View File

@@ -0,0 +1,37 @@
services:
server:
image: gitea/gitea:latest
environment:
- USER_UID=1000
- USER_GID=1000
- GITEA__database__DB_TYPE=postgres
- GITEA__database__HOST=db:5432
- GITEA__database__NAME=gitea
- GITEA__database__USER=gitea
- GITEA__database__PASSWD=gitea
restart: on-failure
volumes:
- /media/gv0/docker/gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "222:22"
depends_on:
- db
security_opt:
- no-new-privileges:true
db:
image: docker.io/library/postgres:14
restart: on-failure
deploy:
placement:
constraints:
- node.labels.database == here
environment:
- POSTGRES_USER=gitea
- POSTGRES_PASSWORD=gitea
- POSTGRES_DB=gitea
volumes:
- /media/gv0/docker/postgres:/var/lib/postgresql/data

37
iperf3/docker-compose.yml Normal file
View File

@@ -0,0 +1,37 @@
services:
server:
image: gitea/gitea:latest
environment:
- USER_UID=1000
- USER_GID=1000
- GITEA__database__DB_TYPE=postgres
- GITEA__database__HOST=db:5432
- GITEA__database__NAME=gitea
- GITEA__database__USER=gitea
- GITEA__database__PASSWD=gitea
restart: on-failure
volumes:
- /media/gv0/docker/gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "222:22"
depends_on:
- db
security_opt:
- no-new-privileges:true
db:
image: docker.io/library/postgres:14
restart: on-failure
deploy:
placement:
constraints:
- node.labels.database == here
environment:
- POSTGRES_USER=gitea
- POSTGRES_PASSWORD=gitea
- POSTGRES_DB=gitea
volumes:
- /media/gv0/docker/postgres:/var/lib/postgresql/data

15
samba/docker-compose.yml Normal file
View File

@@ -0,0 +1,15 @@
services:
samba:
image: dockurr/samba
environment:
NAME: "prod-cluster" # this is the share name ...
USER: "john"
PASS: "mary1948"
UID: "1000"
GID: "1000"
ports:
- 445:445
volumes:
- /media/gv0:/storage # ... which is mapped to here
restart: always

View File

@@ -0,0 +1,23 @@
# a simple web page developed on OMEGA using NICEPAGE
# accessed via https://northweb.johnsnexus.click
# data files held on Production cluster
#
services:
testweb:
image: httpd:2.4.65-alpine
container_name: testweb
deploy:
# placement:
# constraints: [node.role == worker]
replicas: 1
restart: on-failure
ports:
- 8878:80
volumes:
- /media/gv0/TestWebSite:/usr/local/apache2/htdocs
networks:
- caddy_net
networks:
caddy_net:
external: true

View File

@@ -0,0 +1,10 @@
services:
uptime-kuma:
image: louislam/uptime-kuma:2
container_name: uptime-kuma
restart: always
ports:
- "3010:3001"
volumes:
- /media/gv0/docker/uptime-kuma/data:/app/data
- /var/run/docker.sock:/var/run/docker.sock