-
Notifications
You must be signed in to change notification settings - Fork 17
/
env.example.exs
31 lines (31 loc) · 2.82 KB
/
env.example.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
%Gatling.Env{available_port: 4001,
available_tasks: ["run", "app.start", "app.tree", "archive", "archive.build",
"archive.install", "archive.uninstall", "clean", "cmd", "compile", "deps",
"deps.clean", "deps.compile", "deps.get", "deps.tree", "deps.unlock",
"deps.update", "do", "escript", "escript.build", "escript.install",
"escript.uninstall", "help", "hex", "hex.build", "hex.config", "hex.docs",
"hex.info", "hex.key", "hex.outdated", "hex.owner", "hex.public_keys",
"hex.publish", "hex.retire", "hex.search", "hex.user", "loadconfig", "local",
"local.hex", "local.public_keys", "local.rebar", "new", "profile.fprof",
"run", "test", "xref"],
build_dir: "/root/home/ubuntu/sample_project",
built_release_path: "/root/home/ubuntu/sample_project/_build/prod/rel/sample_project/releases/0.0.1470406670/sample_project.tar.gz",
deploy_callback_module: SampleProject.DeployCallbacks,
deploy_dir: "/root/home/ubuntu/deployments/sample_project",
deploy_path: "/root/home/ubuntu/deployments/sample_project/sample_project.tar.gz",
domains: "www.example.com sample_project.hashrocket.com api.example.com",
etc_dir: "/root/etc/init.d",
etc_path: "/root/etc/init.d/sample_project",
git_hook_path: "/root/home/ubuntu/sample_project/.git/hooks/post-update",
nginx_available_path: "/root/etc/nginx/sites-available/sample_project",
nginx_dir: "/root/etc/nginx",
nginx_enabled_path: "/root/etc/nginx/sites-enabled/sample_project",
nginx_template: "server {\n listen 80;\n server_name www.example.com sample_project.hashrocket.com api.example.com;\n\n location / {\n proxy_set_header X-Real-IP $remote_addr;\n proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n proxy_set_header Host $http_host;\n proxy_redirect off;\n proxy_pass http://localhost:4001;\n proxy_set_header Upgrade $http_upgrade;\n proxy_set_header Connection \"upgrade\";\n }\n\n}\n",
project: "sample_project",
release_config_path: "/root/home/ubuntu/sample_project/rel/config.exs",
releases: [],
script_template: "#!/bin/sh\n\n### BEGIN INIT INFO\n# Provides: sample_project\n# Required-Start: $local_fs $network $named $time $syslog\n# Required-Stop: $local_fs $network $named $time $syslog\n# Default-Start: 2 3 4 5\n# Default-Stop: 0 1 6\n# Description: Plug Application: sample_project\n### END INIT INFO\n\nexport MIX_ENV=prod\nexport PORT=4001\nexport HOME=/Users/dennisreimann/deployments/sample_project\n\n[ -f $HOME/.env ] && export $(cat $HOME/.env)\n\n/Users/dennisreimann/deployments/sample_project/bin/sample_project \"$1\" \"$2\"\n",
upgrade_callback_module: SampleProject.UpgradeCallbacks,
upgrade_dir: "/root/home/ubuntu/deployments/sample_project/releases/0.0.1470406670",
upgrade_path: "/root/home/ubuntu/deployments/sample_project/releases/0.0.1470406670/sample_project.tar.gz",
version: "0.0.1470406670"}