Added git ignore, etc
This commit is contained in:
parent
c1b956d6d5
commit
67ef4c3bb2
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
.env
|
||||
db/
|
||||
test_data/
|
||||
|
||||
dist/
|
||||
node_modules/
|
@ -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
|
Loading…
Reference in New Issue
Block a user