Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.