From 67ef4c3bb2de991e579e32a8186e9a4e5b68ea4a Mon Sep 17 00:00:00 2001 From: Cade Date: Thu, 3 Nov 2022 17:35:35 +0100 Subject: [PATCH] Added git ignore, etc --- .gitignore | 6 ++++++ docker-compose.yml | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c190a1d --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +.env +db/ +test_data/ + +dist/ +node_modules/ diff --git a/docker-compose.yml b/docker-compose.yml index e69de29..cc4ae21 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -0,0 +1,43 @@ +version: '3.9' + +services: + shibco_ghost: + container_name: 'shibco_ghost' + image: ghost:alpine + restart: always + ports: + - 8080:2368 + environment: + # see https://ghost.org/docs/config/#configuration-options + database__client: mysql + database__connection__host: shibco_db + database__connection__user: root + database__connection__password: ${DB_PASSWORD} + database__connection__database: ghost + url: http://localhost:8080 + NODE_ENV: development + volumes: + - ./test_data:/var/lib/ghost/content + - ./hokkaido:/var/lib/ghost/content/themes/hokkaido:z + networks: + - webproxy + - ndc_net + + shibco_db: + container_name: 'shibco_db' + image: mysql:5.7 + restart: always + environment: + MYSQL_ROOT_PASSWORD: ${DB_PASSWORD} + volumes: + - ./db:/var/lib/mysql + networks: + - ndc_net + +networks: + webproxy: + external: + name: webproxy + ndc_net: + name: ndc_net + driver: bridge