Docker clean up
This commit is contained in:
1
.env
1
.env
@@ -5,6 +5,7 @@ GHOST_EMAIL=admin@openrsc.com
|
|||||||
GHOST_PASSWORD=malwareinfection
|
GHOST_PASSWORD=malwareinfection
|
||||||
GHOST_DATABASE_NAME=ghost
|
GHOST_DATABASE_NAME=ghost
|
||||||
ALLOW_EMPTY_PASSWORD=no
|
ALLOW_EMPTY_PASSWORD=no
|
||||||
|
URL=http://localhost/blog
|
||||||
|
|
||||||
# Nginx
|
# Nginx
|
||||||
NGINX_HOST=localhost
|
NGINX_HOST=localhost
|
||||||
|
|||||||
@@ -92,6 +92,8 @@ services:
|
|||||||
- ".env"
|
- ".env"
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
|
- privacy__useUpdateCheck=0
|
||||||
|
- URL=${URL}
|
||||||
- MARIADB_HOST=mysql
|
- MARIADB_HOST=mysql
|
||||||
- MARIADB_PORT_NUMBER=3306
|
- MARIADB_PORT_NUMBER=3306
|
||||||
- GHOST_DATABASE_USER=${MARIADB_ROOT_USER}
|
- GHOST_DATABASE_USER=${MARIADB_ROOT_USER}
|
||||||
@@ -102,3 +104,10 @@ services:
|
|||||||
- GHOST_PASSWORD=${GHOST_PASSWORD}
|
- GHOST_PASSWORD=${GHOST_PASSWORD}
|
||||||
depends_on:
|
depends_on:
|
||||||
- fix-ghost-permissions
|
- fix-ghost-permissions
|
||||||
|
|
||||||
|
php:
|
||||||
|
image: nanoninja/php-fpm:7.2
|
||||||
|
container_name: php
|
||||||
|
volumes:
|
||||||
|
- "./etc/php/php.ini:/usr/local/etc/php/conf.d/php.ini"
|
||||||
|
- "./Website:/var/www/html/public"
|
||||||
|
|||||||
Reference in New Issue
Block a user