Created
February 6, 2024 14:41
-
-
Save nechered/e066424ff3a18354ca4c264d321809cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.3" | |
services: | |
ghost: | |
image: ghost:latest | |
restart: always | |
ports: | |
- "2368:2368" | |
depends_on: | |
- db | |
environment: | |
url: http://domain | |
database__client: mysql | |
database__connection__host: db | |
database__connection__user: ghost | |
database__connection__password: ghostdbpass | |
database__connection__database: ghostdb | |
volumes: | |
- /home/ghost/content:/var/lib/ghost/content | |
db: | |
image: mariadb:latest | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: [PASSWORD] | |
MYSQL_USER: ghost | |
MYSQL_PASSWORD: ghostdbpass | |
MYSQL_DATABASE: ghostdb | |
volumes: | |
- /home/ghost/mysql:/var/lib/mysql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment