mirror of
https://github.com/aykhans/my-self-host-services.git
synced 2025-07-03 12:27:53 +00:00
Add ghost
This commit is contained in:
1
ghost/.env.example
Normal file
1
ghost/.env.example
Normal file
@ -0,0 +1 @@
|
||||
url=
|
2
ghost/.gitignore
vendored
Normal file
2
ghost/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
/data/*
|
||||
!.gitkeep
|
0
ghost/data/.gitkeep
Normal file
0
ghost/data/.gitkeep
Normal file
21
ghost/docker-compose.yml
Normal file
21
ghost/docker-compose.yml
Normal file
@ -0,0 +1,21 @@
|
||||
networks:
|
||||
caddy:
|
||||
name: caddy
|
||||
driver: bridge
|
||||
external: true
|
||||
|
||||
services:
|
||||
ghost:
|
||||
image: ghost:5-alpine
|
||||
container_name: ghost
|
||||
networks:
|
||||
- caddy
|
||||
environment:
|
||||
database__client: sqlite3
|
||||
database__connection__filename: content/data/ghost.db
|
||||
NODE_ENV: production
|
||||
volumes:
|
||||
- ./data:/var/lib/ghost/content
|
||||
|
||||
volumes:
|
||||
ghost:
|
Reference in New Issue
Block a user