Changes required to correct issues during testing

This commit is contained in:
Marwolf
2018-08-18 02:36:54 -04:00
parent 4dd84332d5
commit 554d178aae
2 changed files with 18 additions and 4 deletions

View File

@@ -33,6 +33,13 @@ services:
depends_on: depends_on:
- mysqldb - mysqldb
fix-mariadb-permissions:
image: 'bitnami/mariadb:latest'
user: root
command: chown -R 1001:1001 /bitnami
volumes:
- "./data/db/mysq:/bitnami/mariadb"
mysqldb: mysqldb:
image: bitnami/mariadb:latest image: bitnami/mariadb:latest
container_name: mysql container_name: mysql
@@ -46,11 +53,11 @@ services:
- ALLOW_EMPTY_PASSWORD=no - ALLOW_EMPTY_PASSWORD=no
- MARIADB_USER=${MARIADB_USER} - MARIADB_USER=${MARIADB_USER}
- MARIADB_PASSWORD=${MARIADB_PASS} - MARIADB_PASSWORD=${MARIADB_PASS}
- MARIADB_DATABASE=bitnami_ghost - MARIADB_DATABASE=${GHOST_DATABASE_NAME}
ports: ports:
- "127.0.0.1:3306:3306" - "127.0.0.1:3306:3306"
volumes: volumes:
- "./data/db/mysql:/bitnami/mariadb" - "./data/db/mysq:/bitnami/mariadb"
- "./etc/mariadb/innodb.cnf:/bitnami/mariadb/conf/innodb.cnf:ro" - "./etc/mariadb/innodb.cnf:/bitnami/mariadb/conf/innodb.cnf:ro"
depends_on: depends_on:
- nginx - nginx
@@ -67,6 +74,13 @@ services:
depends_on: depends_on:
- nginx - nginx
fix-ghost-permissions:
image: 'bitnami/ghost:latest'
user: root
command: chown -R 1001:1001 /bitnami/ghost
volumes:
- "./etc/ghost:/bitnami/ghost"
ghost: ghost:
image: bitnami/ghost:latest image: bitnami/ghost:latest
container_name: ghost container_name: ghost
@@ -74,7 +88,7 @@ services:
- "127.0.0.1:2368:2368" - "127.0.0.1:2368:2368"
restart: always restart: always
volumes: volumes:
- "./etc:/bitnami" - "./etc/ghost:/bitnami/ghost"
env_file: env_file:
- ".env" - ".env"
environment: environment:

View File

@@ -789,7 +789,7 @@ INSERT INTO `settings` (`id`, `key`, `value`, `type`, `created_at`, `created_by`
('5b77985f86ea860079567750', 'navigation', '[{\"label\":\"Home\",\"url\":\"http://localhost/blog\"},{\"label\":\"Play Now\",\"url\":\"http://localhost/blog/play-now/\"},{\"label\":\"Bug Reports\",\"url\":\"http://localhost/blog/bug-reports/\"},{\"label\":\"FAQ\",\"url\":\"http://localhost/blog/faq/\"},{\"label\":\"Our Mission\",\"url\":\"http://localhost/blog/our-mission/\"},{\"label\":\"Future Plans\",\"url\":\"http://localhost/blog/future-plans/\"}]', 'blog', '2018-08-02 22:25:37', '1', '2018-08-18 03:56:12', '1'), ('5b77985f86ea860079567750', 'navigation', '[{\"label\":\"Home\",\"url\":\"http://localhost/blog\"},{\"label\":\"Play Now\",\"url\":\"http://localhost/blog/play-now/\"},{\"label\":\"Bug Reports\",\"url\":\"http://localhost/blog/bug-reports/\"},{\"label\":\"FAQ\",\"url\":\"http://localhost/blog/faq/\"},{\"label\":\"Our Mission\",\"url\":\"http://localhost/blog/our-mission/\"},{\"label\":\"Future Plans\",\"url\":\"http://localhost/blog/future-plans/\"}]', 'blog', '2018-08-02 22:25:37', '1', '2018-08-18 03:56:12', '1'),
('5b77985f86ea860079567751', 'slack', '[]', 'blog', '2018-08-02 22:25:37', '1', '2018-08-18 03:55:41', '1'), ('5b77985f86ea860079567751', 'slack', '[]', 'blog', '2018-08-02 22:25:37', '1', '2018-08-18 03:55:41', '1'),
('5b77985f86ea860079567752', 'unsplash', '{\"isActive\":false}', 'blog', '2018-08-02 22:25:37', '1', '2018-08-04 15:04:26', '1'), ('5b77985f86ea860079567752', 'unsplash', '{\"isActive\":false}', 'blog', '2018-08-02 22:25:37', '1', '2018-08-04 15:04:26', '1'),
('5b77985f86ea860079567753', 'active_theme', 'newcasper', 'theme', '2018-08-18 03:54:07', '1', '2018-08-18 04:32:14', '1'), ('5b77985f86ea860079567753', 'active_theme', 'casper', 'theme', '2018-08-18 03:54:07', '1', '2018-08-18 04:32:14', '1'),
('5b77985f86ea860079567754', 'active_apps', '[]', 'app', '2018-08-02 22:25:37', '1', '2018-08-02 22:25:37', '1'), ('5b77985f86ea860079567754', 'active_apps', '[]', 'app', '2018-08-02 22:25:37', '1', '2018-08-02 22:25:37', '1'),
('5b77985f86ea860079567755', 'installed_apps', '[]', 'app', '2018-08-02 22:25:37', '1', '2018-08-02 22:25:37', '1'), ('5b77985f86ea860079567755', 'installed_apps', '[]', 'app', '2018-08-02 22:25:37', '1', '2018-08-02 22:25:37', '1'),
('5b77985f86ea860079567756', 'is_private', 'false', 'private', '2018-08-02 22:25:37', '1', '2018-08-02 22:25:37', '1'), ('5b77985f86ea860079567756', 'is_private', 'false', 'private', '2018-08-02 22:25:37', '1', '2018-08-02 22:25:37', '1'),