1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-18 04:58:52 +02:00

update ghost

This commit is contained in:
kev 2022-01-14 11:41:17 +08:00
parent dd52cbd8b8
commit b465db3142
3 changed files with 26 additions and 33 deletions

View File

@ -6,17 +6,19 @@ ghost
## docker-compose.yml ## docker-compose.yml
```yaml ```yaml
ghost: version: "3.8"
image: ghost:alpine services:
ports: ghost:
- "127.0.0.1:2368:2368" image: ghost:alpine
volumes: ports:
- ./data:/var/lib/ghost/content - "2368:2368"
environment: volumes:
- url=https://blog.easypi.duckdns.org - ./data:/var/lib/ghost/content
- database__client=sqlite3 environment:
- database__connection__filename=/var/lib/ghost/content/data/ghost.db - url=https://blog.easypi.duckdns.org
restart: unless-stopped - database__client=sqlite3
- database__connection__filename=/var/lib/ghost/content/data/ghost.db
restart: unless-stopped
``` ```
## Up and Running ## Up and Running

View File

@ -1,11 +0,0 @@
ghost:
image: arm32v7/ghost:alpine
ports:
- "127.0.0.1:2368:2368"
volumes:
- ./data:/var/lib/ghost/content
environment:
- url=https://blog.easypi.duckdns.org
- database__client=sqlite3
- database__connection__filename=/var/lib/ghost/content/data/ghost.db
restart: unless-stopped

View File

@ -1,11 +1,13 @@
ghost: version: "3.8"
image: ghost:alpine services:
ports: ghost:
- "127.0.0.1:2368:2368" image: ghost:alpine
volumes: ports:
- ./data:/var/lib/ghost/content - "2368:2368"
environment: volumes:
- url=https://blog.easypi.duckdns.org - ./data:/var/lib/ghost/content
- database__client=sqlite3 environment:
- database__connection__filename=/var/lib/ghost/content/data/ghost.db - url=https://blog.easypi.duckdns.org
restart: unless-stopped - database__client=sqlite3
- database__connection__filename=/var/lib/ghost/content/data/ghost.db
restart: unless-stopped