Add Ghost
This commit is contained in:
parent
388ee542af
commit
d10a1de820
7 changed files with 69 additions and 4 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
0.2.1
|
||||
0.3.0
|
22
apps/ghost/config.json
Normal file
22
apps/ghost/config.json
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"name": "Ghost",
|
||||
"port": 8115,
|
||||
"available": true,
|
||||
"id": "ghost",
|
||||
"categories": ["social", "media", "featured"],
|
||||
"description": "Ghost is a powerful app for new-media creators to publish, share, and grow a business around their content. It comes with modern tools to build a website, publish content, send newsletters & offer paid subscriptions to members.",
|
||||
"short_desc": "Ghost - Turn your audience into a business.",
|
||||
"author": "TryGhost",
|
||||
"source": "https://github.com/TryGhost/Ghost",
|
||||
"image": "/logos/apps/ghost.jpg",
|
||||
"form_fields": {
|
||||
"dbpassword": {
|
||||
"type": "password",
|
||||
"label": "Ghost Database password",
|
||||
"max": 50,
|
||||
"min": 8,
|
||||
"required": true,
|
||||
"env_variable": "GHOST_DATABASE_PASSWORD"
|
||||
}
|
||||
}
|
||||
}
|
37
apps/ghost/docker-compose.yml
Normal file
37
apps/ghost/docker-compose.yml
Normal file
|
@ -0,0 +1,37 @@
|
|||
version: '3.1'
|
||||
|
||||
services:
|
||||
|
||||
ghost:
|
||||
image: ghost:alpine
|
||||
depends_on:
|
||||
- ghostdb
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- ${APP_PORT}:2368
|
||||
environment:
|
||||
# see https://ghost.org/docs/config/#configuration-options
|
||||
database__client: mysql
|
||||
database__connection__host: db
|
||||
database__connection__user: tipi
|
||||
database__connection__password: ${GHOST_DATABASE_PASSWORD}
|
||||
database__connection__database: ghosttipi
|
||||
url: https://localhost:${APP_PORT}
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/content:/var/lib/ghost/content
|
||||
networks:
|
||||
- tipi_main_network
|
||||
|
||||
ghostdb:
|
||||
container_name: ghostdb
|
||||
user: 1000:1000
|
||||
image: mariadb:latest
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: ${GHOST_DATABASE_PASSWORD}
|
||||
MYSQL_USER: tipi
|
||||
MYSQL_PASSWORD: ${GHOST_DATABASE_PASSWORD}
|
||||
MYSQL_DATABASE: ghosttipi
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/db:/var/lib/mysql
|
||||
networks:
|
||||
- tipi_main_network
|
5
apps/ghost/metadata/description.md
Normal file
5
apps/ghost/metadata/description.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# A painless self-hosted Blog
|
||||
|
||||
Ghost is a powerful app for new-media creators to publish, share, and grow a business around their content. It comes with modern tools to build a website, publish content, send newsletters & offer paid subscriptions to members.
|
||||
|
||||

|
|
@ -8,7 +8,7 @@ services:
|
|||
command: bash -c "cd /api && npm run dev"
|
||||
container_name: api
|
||||
ports:
|
||||
- 3001:3001
|
||||
- 3002:3001
|
||||
volumes:
|
||||
## Docker sock
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
|
@ -31,7 +31,7 @@ services:
|
|||
command: bash -c "cd /dashboard && npm run dev"
|
||||
container_name: dashboard
|
||||
ports:
|
||||
- 3000:3000
|
||||
- 3001:3000
|
||||
networks:
|
||||
- tipi_main_network
|
||||
environment:
|
||||
|
@ -45,7 +45,7 @@ services:
|
|||
traefik.http.routers.dashboard.rule: PathPrefix("/") # Host(`tipi.local`) &&
|
||||
traefik.http.routers.dashboard.entrypoints: webinsecure
|
||||
traefik.http.routers.dashboard.service: dashboard
|
||||
traefik.http.services.dashboard.loadbalancer.server.port: 3000
|
||||
traefik.http.services.dashboard.loadbalancer.server.port: 3001
|
||||
|
||||
networks:
|
||||
tipi_main_network:
|
||||
|
|
BIN
packages/dashboard/public/logos/apps/ghost.png
Normal file
BIN
packages/dashboard/public/logos/apps/ghost.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 44 KiB |
|
@ -18,4 +18,5 @@ export const appNames = [
|
|||
'homarr',
|
||||
'code-server',
|
||||
'calibre-web',
|
||||
'ghost'
|
||||
];
|
||||
|
|
Loading…
Add table
Reference in a new issue