Skip to content
Snippets Groups Projects
Commit 98e4254a authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

feat: add ghost stack

parent f1b69ba2
No related branches found
No related tags found
3 merge requests!27Recette,!26Dev,!24Poc/ghost
......@@ -42,5 +42,29 @@ services:
ME_CONFIG_BASICAUTH_PASSWORD: ${ME_CONFIG_BASICAUTH_PASSWORD}
ME_CONFIG_MONGODB_SERVER: database-ram
ghost:
image: ghost:latest
restart: always
ports:
- ${GHOST_PORT}:2368
environment:
# see https://docs.ghost.org/docs/config#section-running-ghost-with-config-env-variables
database__client: mysql
database__connection__host: ghost-db
database__connection__user: root
database__connection__password: ${GHOST_DB_PASSWORD}
database__connection__database: ghost
# this url value is just an example, and is likely wrong for your environment!
url: http://localhost:${GHOST_PORT}
ghost-db:
image: mysql:5.7
restart: always
environment:
MYSQL_ROOT_PASSWORD: ${GHOST_DB_PASSWORD}
volumes:
- db-ghost
volumes:
db-ram:
db-ghost:
......@@ -14,3 +14,5 @@ SALT=<Salt must be in the form of: $Vers$log2(NumRounds)$saltvalue>
MAIL_URL=<API url>
MAIL_TOKEN=<API token>
APTIC_TOKEN=<APTIC API TOKEN>
GHOST_PORT=<ghost port>
GHOST_DB_PASSWORD=<ghost db password>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment