Added git ignore, etc

This commit is contained in:
shibco 2022-11-03 17:35:35 +01:00
parent c1b956d6d5
commit 67ef4c3bb2
2 changed files with 49 additions and 0 deletions

6
.gitignore vendored Normal file
View File

@ -0,0 +1,6 @@
.env
db/
test_data/
dist/
node_modules/

View File

@ -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