This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ghost containers | |
blog-coderunner.io: | |
environment: | |
- VIRTUAL_HOST=coderunner.io,www.coderunner.io | |
- NODE_ENV=production |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ghost containers | |
blog-coderunner.io: | |
environment: | |
- VIRTUAL_HOST=coderunner.io.dev | |
- NODE_ENV=development |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data-coderunner.io: | |
build: ./data-coderunner.io | |
container_name: "data-coderunner.io" | |
mariadb: | |
image: mariadb | |
container_name: "mariadb" | |
env_file: ./data-coderunner.io/env_coderunner.io | |
environment: | |
- TERM=xterm | |
ports: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ghost | |
MAINTAINER Tim Bennett <tim@coderunner.io> | |
# Create required volumes | |
VOLUME ["/var/lib/mysql", "/var/lib/ghost"] | |
ENTRYPOINT ["/bin/bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Dynamic config.js for Ghost modified from: https://gist.github.com/mewm/778644a11b0f28670fe4 | |
// | |
// When using mysql, the MYSQL_* environment variables will be made available automatically | |
// by the Docker linking system | |
// Include any custom additions | |
console.log('Starting Ghost using dynamic config... :)') | |
var config, |