Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-et-numerique
Factory
Resin
Server
Commits
98e4254a
Commit
98e4254a
authored
4 years ago
by
Hugo SUBTIL
Browse files
Options
Downloads
Patches
Plain Diff
feat: add ghost stack
parent
f1b69ba2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!27
Recette
,
!26
Dev
,
!24
Poc/ghost
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker-compose.yml
+24
-0
24 additions, 0 deletions
docker-compose.yml
template.env
+2
-0
2 additions, 0 deletions
template.env
with
26 additions
and
0 deletions
docker-compose.yml
+
24
−
0
View file @
98e4254a
...
...
@@ -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
:
This diff is collapsed.
Click to expand it.
template.env
+
2
−
0
View file @
98e4254a
...
...
@@ -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>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment