Overhaul
This commit is contained in:
parent
45f89d68bb
commit
20416b2045
10 changed files with 44 additions and 13 deletions
34
compose/castopod.yml
Normal file
34
compose/castopod.yml
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
services:
|
||||||
|
castopod:
|
||||||
|
image: castopod/castopod:latest
|
||||||
|
volumes:
|
||||||
|
- ${ROOT_DIR}/castopod-media:/var/www/castopod/public/media
|
||||||
|
environment:
|
||||||
|
MYSQL_DATABASE: castopod
|
||||||
|
MYSQL_USER: castopod
|
||||||
|
MYSQL_PASSWORD: ${DB_PASSWORD}
|
||||||
|
CP_BASEURL: "https://castopod.example.com"
|
||||||
|
CP_ANALYTICS_SALT: ${ANALYTICS_SALT}
|
||||||
|
CP_CACHE_HANDLER: redis
|
||||||
|
CP_REDIS_HOST: redis
|
||||||
|
CP_REDIS_PASSWORD: ${REDIS_PASSWORD}
|
||||||
|
ports:
|
||||||
|
- 8000:8000
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
mariadb:
|
||||||
|
image: mariadb:11.2
|
||||||
|
volumes:
|
||||||
|
- ${ROOT_DIR}/castopod-db:/var/lib/mysql
|
||||||
|
environment:
|
||||||
|
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD}
|
||||||
|
MYSQL_DATABASE: castopod
|
||||||
|
MYSQL_USER: castopod
|
||||||
|
MYSQL_PASSWORD: ${DB_PASSWORD}
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
redis:
|
||||||
|
image: redis:7.2-alpine
|
||||||
|
command: --requirepass ${REDIS_PASSWORD}
|
||||||
|
volumes:
|
||||||
|
- ${ROOT_DIR}/castopod-cache:/data
|
|
@ -5,7 +5,7 @@ services:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
image: docuseal/docuseal:latest
|
image: docuseal/docuseal:latest
|
||||||
ports:
|
ports:
|
||||||
- '3069:3000'
|
- '${APP_PORT}:3000'
|
||||||
environment:
|
environment:
|
||||||
DATABASE_URL: postgresql://postgres:postgres@postgres:5432/docuseal
|
DATABASE_URL: postgresql://postgres:postgres@postgres:5432/docuseal
|
||||||
ROOT_DIR: ${ROOT_DIR}
|
ROOT_DIR: ${ROOT_DIR}
|
||||||
|
|
|
@ -2,5 +2,5 @@ services:
|
||||||
excalidraw:
|
excalidraw:
|
||||||
image: docker.io/excalidraw/excalidraw:latest
|
image: docker.io/excalidraw/excalidraw:latest
|
||||||
ports:
|
ports:
|
||||||
- 8182:80
|
- ${APP_PORT}:80
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
|
@ -7,8 +7,6 @@ services:
|
||||||
POSTGRES_DB: forgejo
|
POSTGRES_DB: forgejo
|
||||||
volumes:
|
volumes:
|
||||||
- ${ROOT_DIR}/postgres_data:/var/lib/postgresql/data
|
- ${ROOT_DIR}/postgres_data:/var/lib/postgresql/data
|
||||||
ports:
|
|
||||||
- "5432:5432"
|
|
||||||
|
|
||||||
server:
|
server:
|
||||||
image: codeberg.org/forgejo/forgejo:9
|
image: codeberg.org/forgejo/forgejo:9
|
||||||
|
@ -33,5 +31,5 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ${ROOT_DIR}/forgejo_data:/data
|
- ${ROOT_DIR}/forgejo_data:/data
|
||||||
ports:
|
ports:
|
||||||
- '8080:3000'
|
- '${APP_PORT}:3000'
|
||||||
- '69:22'
|
- '${SSH_PORT}:22'
|
|
@ -8,7 +8,7 @@ services:
|
||||||
GTS_LETSENCRYPT_ENABLED: "false"
|
GTS_LETSENCRYPT_ENABLED: "false"
|
||||||
GTS_LETSENCRYPT_EMAIL_ADDRESS: ""
|
GTS_LETSENCRYPT_EMAIL_ADDRESS: ""
|
||||||
ports:
|
ports:
|
||||||
- "8181:8080"
|
- "${APP_PORT}:8080"
|
||||||
volumes:
|
volumes:
|
||||||
- ${ROOT_DIR}:/data
|
- ${ROOT_DIR}:/data
|
||||||
restart: "always"
|
restart: "always"
|
|
@ -8,5 +8,5 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ${ROOT_DIR}:/data
|
- ${ROOT_DIR}:/data
|
||||||
ports:
|
ports:
|
||||||
- 9000:9000
|
- ${S3_PORT}:9000
|
||||||
- 9001:9001
|
- ${CONSOLE_PORT}:9001
|
|
@ -6,7 +6,6 @@ services:
|
||||||
- "80:80" # Public HTTP Port
|
- "80:80" # Public HTTP Port
|
||||||
- "443:443" # Public HTTPS Port
|
- "443:443" # Public HTTPS Port
|
||||||
- "81:81" # Admin Web Port
|
- "81:81" # Admin Web Port
|
||||||
- "25565-25569:25565-25569" #Minecraft Ports
|
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -3,8 +3,8 @@ services:
|
||||||
image: ghcr.io/thomiceli/opengist:1
|
image: ghcr.io/thomiceli/opengist:1
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "6157:6157"
|
- "${APP_PORT}:6157"
|
||||||
- "420:2222"
|
- "${SSH_PORT}:2222"
|
||||||
volumes:
|
volumes:
|
||||||
- ${ROOT_DIR}:/opengist
|
- ${ROOT_DIR}:/opengist
|
||||||
environment:
|
environment:
|
|
@ -6,7 +6,7 @@ services:
|
||||||
image: vaultwarden/server:latest
|
image: vaultwarden/server:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- '9445:80'
|
- '${APP_PORT}:80'
|
||||||
environment:
|
environment:
|
||||||
ADMIN_TOKEN: ${ADMIN_TOKEN}
|
ADMIN_TOKEN: ${ADMIN_TOKEN}
|
||||||
WEBSOCKET_ENABLED: true
|
WEBSOCKET_ENABLED: true
|
Loading…
Add table
Reference in a new issue