mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-22 04:54:29 +00:00
30 lines
578 B
YAML
30 lines
578 B
YAML
version: "3.8"
|
|
services:
|
|
ghost:
|
|
image: ghost:5-alpine
|
|
restart: always
|
|
environment:
|
|
database__client: mysql
|
|
database__connection__host: db
|
|
database__connection__user: root
|
|
database__connection__password: example
|
|
database__connection__database: ghost
|
|
url: http://${GHOST_HOST}
|
|
|
|
volumes:
|
|
- ghost:/var/lib/ghost/content
|
|
|
|
db:
|
|
image: mysql:8.0
|
|
restart: always
|
|
networks:
|
|
- dokploy-network
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: example
|
|
volumes:
|
|
- db:/var/lib/mysql
|
|
|
|
volumes:
|
|
ghost:
|
|
db:
|