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