Aggiunto file docker compose

This commit is contained in:
piccihud 2024-05-13 08:32:46 +02:00
parent 4754d4353d
commit 3ef4099e2b
12 changed files with 210 additions and 0 deletions

9
castopod/.env Normal file
View File

@ -0,0 +1,9 @@
MYSQL_PASSWORD=""
CP_BASEURL=""
CP_ANALYTICS_SALT=""
CP_REDIS_PASSWORD=""
CP_EMAIL_SMTP_HOST=""
CP_EMAIL_FROM=""
CP_EMAIL_SMTP_USERNAME=""
CP_EMAIL_SMTP_PASSWORD=""
MYSQL_ROOT_PASSWORD=""

View File

@ -0,0 +1,59 @@
services:
app:
image: castopod/castopod:latest
container_name: "castopod-app"
env_file: .env
volumes:
- castopod-media:/var/www/castopod/public/media
environment:
MYSQL_DATABASE: castopod
MYSQL_USER: castopod
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
CP_BASEURL: ${CP_BASEURL}
CP_ANALYTICS_SALT: ${CP_ANALYTICS_SALT}
CP_CACHE_HANDLER: redis
CP_REDIS_HOST: redis
CP_REDIS_PASSWORD: ${CP_REDIS_PASSWORD}
CP_EMAIL_SMTP_HOST: ${CP_EMAIL_SMTP_HOST}
CP_EMAIL_FROM: ${CP_EMAIL_FROM}
CP_EMAIL_SMTP_USERNAME: ${CP_EMAIL_SMTP_USERNAME}
CP_EMAIL_SMTP_PASSWORD: ${CP_EMAIL_SMTP_PASSWORD}
CP_EMAIL_SMTP_PORT: 587
networks:
- castopod-app
- castopod-db
ports:
- 3008:8000
restart: unless-stopped
mariadb:
image: mariadb:10.5
container_name: "castopod-mariadb"
networks:
- castopod-db
volumes:
- castopod-db:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE: castopod
MYSQL_USER: castopod
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
restart: unless-stopped
redis:
image: redis:7.0-alpine
container_name: "castopod-redis"
command: --requirepass ${CP_REDIS_PASSWORD}
volumes:
- castopod-cache:/data
networks:
- castopod-app
volumes:
castopod-media:
castopod-db:
castopod-cache:
networks:
castopod-app:
castopod-db:

3
code/.env Normal file
View File

@ -0,0 +1,3 @@
COLLABORA_USERNAME=""
COLLABORA_PASSWORD=""
COLLABORA_DOMAIN=""

20
code/docker-compose.yml Normal file
View File

@ -0,0 +1,20 @@
services:
code:
container_name: code
image: collabora/code:latest
env_file: .env
restart: unless-stopped
environment:
password: ${COLLABORA_PASSWORD}
username: ${COLLABORA_USERNAME}
domain: ${COLLABORA_DOMAIN}
dictionaries: en it
extra_params: --o:ssl.enable=true --o:ssl.termination=false # Set SSL options
ports:
- 3005:9980
volumes:
- /etc/localtime:/etc/localtime
- /etc/timezone:/etc/timezone
cap_add:
- MKNOD
tty: true

View File

@ -0,0 +1,23 @@
services:
freshrss:
image: freshrss/freshrss:latest
container_name: freshrss
hostname: freshrss
restart: unless-stopped
logging:
options:
max-size: 10m
volumes:
- data:/var/www/FreshRSS/data
- extensions:/var/www/FreshRSS/extensions
ports:
# If you want to open a port 8080 on the local machine:
- "3004:80"
environment:
TZ: Europe/Rome
CRON_MIN: '3,33'
volumes:
data:
extensions:

1
gitea/.env Normal file
View File

@ -0,0 +1 @@

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

@ -0,0 +1,23 @@
services:
gitea:
image: gitea/gitea:latest
env_file: .env
container_name: gitea
restart: unless-stopped
environment:
- USER_UID=102
- USER_GID=109
networks:
- gitea
volumes:
- ./gitea:/data
- /home/git/.ssh/:/data/git/.ssh
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3006:3000"
- "2222:22"
networks:
gitea:
external: false

10
kuma/docker-compose.yml Normal file
View File

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

8
memos/docker-compose.yml Normal file
View File

@ -0,0 +1,8 @@
services:
memos:
image: neosmemo/memos:stable
container_name: memos
volumes:
- .memos/:/var/opt/memos
ports:
- 3009:5230

14
ntfy/docker-compose.yml Normal file
View File

@ -0,0 +1,14 @@
services:
ntfy:
image: binwiederhier/ntfy:latest
container_name: ntfy
command:
- serve
environment:
- TZ=CET # optional: set desired timezone
volumes:
- /var/cache/ntfy:/var/cache/ntfy
- /etc/ntfy:/etc/ntfy
ports:
- 3003:80
restart: unless-stopped

6
vaultwarden/.env Normal file
View File

@ -0,0 +1,6 @@
VAULT_DOMAN=""
VAULT_ADMIN_TOKEN=""
VAULT_SMTP_HOST=""
VAULT_SMTP_FROM=""
VAULT_SMTP_USER=""
VAULT_SMTP_PASSWD=""

View File

@ -0,0 +1,34 @@
services:
vaultwarden:
image: vaultwarden/server:latest
env_file: .env
container_name: vaultwarden
restart: unless-stopped
ports:
- 3001:80 # Needed for the ACME HTTP-01 challenge.
- 3002:443
environment:
DOMAIN: ${VAULT_DOMAN}
LOG_FILE: "/data/vaultwarden.log"
LOG_LEVEL: "warn"
EXTENDED_LOGGING: "true"
SHOW_PASSWORD_HINT: "false"
SENDS_ALLOWED: "true"
LOGIN_RATELIMIT_MAX_BURST: 10
LOGIN_RATELIMIT_SECONDS: 60
ADMIN_RATELIMIT_MAX_BURST: 10
ADMIN_RATELIMIT_SECONDS: 60
ADMIN_TOKEN: ${VAULT_ADMIN_TOKEN}
EMERGENCY_ACCESS_ALLOWED: "true"
SIGNUPS_ALLOWED: "false"
SIGNUPS_VERIFY: true
SIGNUPS_VERIFY_RESEND_TIME: 3600
SIGNUPS_VERIFY_RESEND_LIMIT: 5
SMTP_HOST: ${VAULT_SMTP_HOST}
SMTP_FROM: ${VAULT_SMTP_FROM}
SMTP_SECURITY: "starttls"
SMTP_PORT: 587
SMTP_USERNAME: ${VAULT_SMTP_USER}
SMTP_PASSWORD: ${VAULT_SMTP_PASSWD}
volumes:
- ./vw-data:/data