Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ghost:
- image: ghost:latest
- container_name: ghost
- restart: always
- depends_on:
- - ghost-db
- ports:
- - 58099:2368
- environment:
- # see https://ghost.org/docs/config/#configuration-options
- database__client: mysql
- database__connection__host: ghost-db
- database__connection__user: root
- database__connection__password: my_mysql_password
- database__connection__database: ghost
- # this url value is just an example, and is likely wrong for your environment!
- url: https://www.myurl.com
- #NODE_ENV: development
- # Email Settings
- mail__options__auth__pass: my_gmail_app_password
- mail__options__host: smtp.gmail.com
- mail__options__port: 587
- mail__options__secure: false
- mail__options__service: Gmail
- mail__options__transport: SMTP
- volumes:
- - /datastore/configs/ghost/ghost:/var/lib/ghost/content
- ghost-db:
- image: mysql:8.0
- container_name: ghost-db
- restart: always
- environment:
- MYSQL_ROOT_PASSWORD: my_mysql_password
- volumes:
- - /datastore/configs/ghost/db:/var/lib/mysql
Advertisement
Add Comment
Please, Sign In to add comment