Skip to content

Instantly share code, notes, and snippets.

@boina-n
Created November 8, 2017 16:01
Show Gist options
  • Save boina-n/ea60581bbbfb98f7e52e197b2e021ecd to your computer and use it in GitHub Desktop.
Save boina-n/ea60581bbbfb98f7e52e197b2e021ecd to your computer and use it in GitHub Desktop.
Concourse_config
[Unit]
Description = Concourse Web Server
After = postgresql.target
[Service]
ExecStart = /opt/concourse/bin/concourse web --basic-auth-username myusername --basic-auth-password MyPaSSWord --session-signing-key /opt/concourse/keys/session_signing_key --tsa-host-key /opt/concourse/keys/tsa_host_key --tsa-authorized-keys /opt/concourse/keys/authorized_worker_keys --postgres-data-source postgres://concourse:[email protected]/concourse --external-url http://concourse.mydomain
User=root
[Install]
WantedBy = multi-user.target
root@linux1:~# cat
[Unit]
Description = Concourse Worker Server
After = postgresql.target
[Service]
ExecStart = /opt/concourse/bin/concourse worker --work-dir /opt/concourse/worker --tsa-host 127.0.0.1 --tsa-public-key /opt/concourse/keys/tsa_host_key.pub --tsa-worker-private-key /opt/concourse/keys/worker_key --http-proxy='http://locahost:3128' --https-proxy='http://locahost:3128' --no-proxy=127.0.0.1,thisdomain --garden-destroy-containers-on-startup
User = root
[Install]
WantedBy = multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment