Skip to content

Instantly share code, notes, and snippets.

@juniovitorino
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juniovitorino/2f42f332e20aac13af19 to your computer and use it in GitHub Desktop.
Save juniovitorino/2f42f332e20aac13af19 to your computer and use it in GitHub Desktop.
systems({
"meu-projeto": {
depends: [],
image: {"docker": "azukiapp/php-apache"},
provision: [],
workdir: "/azk/#{manifest.dir}",
shell: "/bin/bash",
command: "",
wait: {"retry": 20, "timeout": 1000},
mounts: {
'/azk/#{manifest.dir}': path("."),
'/etc/apache2/sites-available/000-default.conf': path('vhost'),
'/etc/php5/apache2/php.ini': path('php.ini'),
},
// scalable: { "default": 4 },
http: {
domains: [ "#{system.name}.#{azk.default_domain}" ]
},
ports: {
http: "80/tcp",
},
envs: {
APP_DIR : "/azk/#{manifest.dir}",
ENV : "development",
DOMAIN : [ "http://#{system.name}.#{azk.default_domain}" ],
DB_USER : "DB_USER",
DB_PASS : "DB_PASS",
DB_NAME : "#{system.name}_development",
DB_HOST : "DB_HOST",
},
docker_extra: {
start: {
Privileged: "true",
},
},
},
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment