Set variables for Ghost DB connection
This commit is contained in:
4
.env
4
.env
@@ -1,10 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Ghost
|
||||
GHOST_EMAIL=admin@openrsc.com
|
||||
GHOST_PASSWORD=malwareinfection
|
||||
GHOST_DATABASE_NAME=ghost
|
||||
ALLOW_EMPTY_PASSWORD=no
|
||||
URL=http://localhost/blog
|
||||
|
||||
# Nginx
|
||||
|
||||
@@ -82,11 +82,11 @@ services:
|
||||
volumes:
|
||||
- "./etc/ghost/content:/var/lib/ghost/content"
|
||||
environment:
|
||||
- url=http://localhost/blog
|
||||
- url=${URL}
|
||||
- database__client=mysql
|
||||
- database__connection__host=mysql
|
||||
- database__connection__user=root
|
||||
- database__connection__password=root
|
||||
- database__connection__user=${MARIADB_ROOT_USER}
|
||||
- database__connection__password=${MARIADB_ROOT_PASSWORD}
|
||||
- database__connection__database=ghost
|
||||
- privacy__useUpdateCheck=false
|
||||
depends_on:
|
||||
|
||||
Reference in New Issue
Block a user