From 90ff15f338361c8eaff6026463201e0ee24d7bfd Mon Sep 17 00:00:00 2001 From: Marwolf Date: Tue, 21 Aug 2018 22:18:17 -0400 Subject: [PATCH] Docker clean up --- .env | 1 + docker-compose.yml | 9 +++++++++ etc/ghost/.initialized | 0 etc/ghost/.restored | 0 4 files changed, 10 insertions(+) delete mode 100644 etc/ghost/.initialized delete mode 100644 etc/ghost/.restored diff --git a/.env b/.env index 6e499c7..d473792 100644 --- a/.env +++ b/.env @@ -5,6 +5,7 @@ GHOST_EMAIL=admin@openrsc.com GHOST_PASSWORD=malwareinfection GHOST_DATABASE_NAME=ghost ALLOW_EMPTY_PASSWORD=no +URL=http://localhost/blog # Nginx NGINX_HOST=localhost diff --git a/docker-compose.yml b/docker-compose.yml index 7d7581b..882b7cb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -92,6 +92,8 @@ services: - ".env" environment: - NODE_ENV=production + - privacy__useUpdateCheck=0 + - URL=${URL} - MARIADB_HOST=mysql - MARIADB_PORT_NUMBER=3306 - GHOST_DATABASE_USER=${MARIADB_ROOT_USER} @@ -102,3 +104,10 @@ services: - GHOST_PASSWORD=${GHOST_PASSWORD} depends_on: - 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" diff --git a/etc/ghost/.initialized b/etc/ghost/.initialized deleted file mode 100644 index e69de29..0000000 diff --git a/etc/ghost/.restored b/etc/ghost/.restored deleted file mode 100644 index e69de29..0000000