Skip to content

Commit 0b21d8f

Browse files
committed
feat: add castopod
1 parent 724cee5 commit 0b21d8f

File tree

2 files changed

+91
-0
lines changed

2 files changed

+91
-0
lines changed

stacks/castopod.yml

+61
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# DOMAIN=example.com docker stack deploy -c castopod.yml castopod
2+
# php spark install:create-superadmin # Create first admin user
3+
4+
services:
5+
castopod:
6+
image: castopod/castopod:${VERSION:-1.13.0}
7+
volumes:
8+
- ${VOLUME_PATH}media:/var/www/castopod/public/media
9+
environment:
10+
- MYSQL_DATABASE=castopod
11+
- MYSQL_USER=castopod
12+
- MYSQL_PASSWORD=myp@ssw0rd
13+
- CP_CACHE_HANDLER=redis
14+
- CP_REDIS_HOST=redis
15+
- CP_REDIS_PASSWORD=myp@ssw0rd
16+
- CP_ANALYTICS_SALT=changeme
17+
- CP_BASEURL=${SCHEME:-https}://${DOMAIN:-castopod.localhost}
18+
deploy:
19+
labels:
20+
- traefik.enable=true
21+
- traefik.http.routers.castopod-${NUMBER:-1}.rule=Host(`${DOMAIN:-castopod.localhost}`)
22+
- traefik.http.routers.castopod-${NUMBER:-1}.entrypoints=${SCHEME:-https}
23+
- traefik.http.routers.castopod-${NUMBER:-1}.service=castopod-${NUMBER:-1}
24+
- traefik.http.routers.castopod-${NUMBER:-1}.tls.certresolver=letsencrypt
25+
- traefik.http.services.castopod-${NUMBER:-1}.loadbalancer.server.port=8000
26+
networks:
27+
- internal
28+
- traefik
29+
30+
mariadb:
31+
image: mariadb:${MARIADB_VERSION:-10.5.9}
32+
volumes:
33+
- ${VOLUME_PATH}mariadb:/var/lib/mysql:cached
34+
environment:
35+
- MYSQL_USER=${MYSQL_USER:-castopod}
36+
- MYSQL_DATABASE=${MYSQL_DATABASE:-castopod}
37+
- MYSQL_PASSWORD=${MYSQL_PASSWORD:-myp@ssw0rd}
38+
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD:-myp@ssw0rd}
39+
networks:
40+
- internal
41+
42+
redis:
43+
image: redis:7-alpine
44+
command: --requirepass myp@ssw0rd
45+
volumes:
46+
- redis:/data
47+
networks:
48+
- internal
49+
50+
volumes:
51+
media:
52+
redis:
53+
mariadb:
54+
55+
networks:
56+
internal:
57+
driver: overlay
58+
attachable: true
59+
traefik:
60+
external: true
61+
name: traefik-net

templates.json

+30
Original file line numberDiff line numberDiff line change
@@ -851,6 +851,36 @@
851851
}
852852
]
853853
},
854+
{
855+
"type": 2,
856+
"title": "Castopod",
857+
"description": "Castopod est une plateforme de podcasting open-source.",
858+
"categories": ["Podcast"],
859+
"manual": true,
860+
"enabled": true,
861+
"trial": 7,
862+
"price": 19,
863+
"logo": "https://i.imgur.com/XrJEjVD.png",
864+
"website": "https://castopod.org",
865+
"repository": {
866+
"url": "https://github.com/ethibox/awesome-stacks",
867+
"stackfile": "stacks/castopod.yml"
868+
},
869+
"env": [
870+
{
871+
"name": "ADMIN_USERNAME",
872+
"label": "Admin username",
873+
"value": "admin",
874+
"disabled": true
875+
},
876+
{
877+
"name": "ADMIN_PASSWORD",
878+
"label": "Admin password",
879+
"type": "password",
880+
"disabled": true
881+
}
882+
]
883+
},
854884
{
855885
"type": 2,
856886
"title": "Taiga",

0 commit comments

Comments
 (0)