Set variables for Ghost DB connection

This commit is contained in:
Marwolf
2018-08-24 08:59:20 -04:00
parent ebaffc44f9
commit 3696cb4eaf
2 changed files with 3 additions and 7 deletions

4
.env
View File

@@ -1,10 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Ghost # Ghost
GHOST_EMAIL=admin@openrsc.com
GHOST_PASSWORD=malwareinfection
GHOST_DATABASE_NAME=ghost
ALLOW_EMPTY_PASSWORD=no
URL=http://localhost/blog URL=http://localhost/blog
# Nginx # Nginx

View File

@@ -82,11 +82,11 @@ services:
volumes: volumes:
- "./etc/ghost/content:/var/lib/ghost/content" - "./etc/ghost/content:/var/lib/ghost/content"
environment: environment:
- url=http://localhost/blog - url=${URL}
- database__client=mysql - database__client=mysql
- database__connection__host=mysql - database__connection__host=mysql
- database__connection__user=root - database__connection__user=${MARIADB_ROOT_USER}
- database__connection__password=root - database__connection__password=${MARIADB_ROOT_PASSWORD}
- database__connection__database=ghost - database__connection__database=ghost
- privacy__useUpdateCheck=false - privacy__useUpdateCheck=false
depends_on: depends_on: