Changed to ghost latest version 2.0.3

This commit is contained in:
Marwolf
2018-08-23 22:02:57 -04:00
parent 301415055d
commit 6ebabdcd17

View File

@@ -71,39 +71,24 @@ services:
- "./Website:/usr/local/tomcat/webapps/ROOT" - "./Website:/usr/local/tomcat/webapps/ROOT"
- "./etc/tomcat:/usr/local/tomcat/conf" - "./etc/tomcat:/usr/local/tomcat/conf"
fix-ghost-permissions:
image: 'bitnami/ghost:latest'
container_name: ghost-fix-permissions
user: root
command: chown -R 1001:1001 /bitnami/ghost
volumes:
- "./etc/ghost:/bitnami/ghost"
depends_on:
- mysqldb
ghost: ghost:
image: bitnami/ghost:latest image: ghost:latest
container_name: ghost container_name: ghost
ports: ports:
- "127.0.0.1:2368:2368" - "127.0.0.1:2368:2368"
volumes: restart: always
- "./etc/ghost/content:/opt/bitnami/ghost/content"
env_file: env_file:
- ".env" - ".env"
volumes:
- "./etc/ghost/content:/var/lib/ghost/content"
environment: environment:
- NODE_ENV=production - url=http://localhost/blog
- privacy__useUpdateCheck=0 - database__client=mysql
- URL=${URL} - database__connection__host=mysql
- MARIADB_HOST=mysql - database__connection__user=root
- MARIADB_PORT_NUMBER=3306 - database__connection__password=root
- GHOST_DATABASE_USER=${MARIADB_ROOT_USER} - database__connection__database=ghost
- GHOST_DATABASE_PASSWORD=${MARIADB_ROOT_PASSWORD} - privacy__useUpdateCheck=false
- GHOST_DATABASE_NAME=${GHOST_DATABASE_NAME}
- ALLOW_EMPTY_PASSWORD=${ALLOW_EMPTY_PASSWORD}
- GHOST_EMAIL=${GHOST_EMAIL}
- GHOST_PASSWORD=${GHOST_PASSWORD}
depends_on:
- fix-ghost-permissions
php: php:
image: nanoninja/php-fpm:7.2 image: nanoninja/php-fpm:7.2