-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yml
68 lines (62 loc) · 2.48 KB
/
docker-compose.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Original source: https://github.com/concourse/concourse-docker
# Update or sync up with latest version
# Has additional flags for Web Proxy and DNS settings
version: '3'
services:
# purely for testing proxy settings of docker using ubuntu docker image
#ubuntu:
# image: ubuntu:17.10
# command: sleep 600000
concourse-db:
image: postgres
environment:
- POSTGRES_DB=concourse
- POSTGRES_PASSWORD=concourse_pass
- POSTGRES_USER=concourse_user
- PGDATA=/database
concourse-web:
image: concourse/concourse
command: web
links: [concourse-db]
depends_on: [concourse-db]
ports: ["8080:8080"] # EDIT if necessary
volumes: ["./keys/web:/concourse-keys"]
environment:
- CONCOURSE_POSTGRES_HOST=concourse-db
- CONCOURSE_POSTGRES_USER=concourse_user
- CONCOURSE_POSTGRES_PASSWORD=concourse_pass
- CONCOURSE_POSTGRES_DATABASE=concourse
- CONCOURSE_EXTERNAL_URL=<REQUIRED> # EDIT ME
- CONCOURSE_BASIC_AUTH_USERNAME=concourse
- CONCOURSE_BASIC_AUTH_PASSWORD=concourse
- CONCOURSE_NO_REALLY_I_DONT_WANT_ANY_AUTH
- CONCOURSE_GARDEN_DNS_PROXY_ENABLE=true
- CONCOURSE_WORKER_GARDEN_DNS_PROXY_ENABLE=true
- CONCOURSE_BAGGAGECLAIM_DRIVER=overlay
# Edit dns server for CONCOURSE_GARDEN_DNS_SERVER
# Edit the no_proxy to your env to allow direct access
# like the webserver hosting the ova bits.
# Ensure there are no quotes or spaces in the values
concourse-worker:
image: concourse/concourse
command: worker
privileged: true
links: [concourse-web]
depends_on: [concourse-web]
volumes:
- "./keys/worker:/concourse-keys"
environment:
- CONCOURSE_TSA_HOST=concourse-web:2222
- CONCOURSE_GARDEN_NETWORK
- CONCOURSE_GARDEN_DNS_PROXY_ENABLE=true
- CONCOURSE_WORKER_GARDEN_DNS_PROXY_ENABLE=true
- CONCOURSE_GARDEN_DNS_SERVER=<REQUIRED> # EDIT ME
- CONCOURSE_BAGGAGECLAIM_DRIVER=overlay
# Fill details below if env uses a web proxy
# Ensure there are no quotes or spaces in the values
- http_proxy_url=<REQUIRED> # EDIT ME - sample: http://192.168.10.5:3128/
- https_proxy_url=<REQUIRED> # EDIT ME - sample: http://192.168.10.5:3128/
- no_proxy=<REQUIRED> # EDIT ME - sample: localhost,127.0.0.1,WEBSERVER-IP,8.8.8.8,10.193.99.2
- HTTP_PROXY=<REQUIRED> # EDIT ME - sample: http://192.168.10.5:3128/
- HTTPS_PROXY=<REQUIRED> # EDIT ME - sample: http://192.168.10.5:3128/
- NO_PROXY=<REQUIRED> # EDIT ME - sample: localhost,127.0.0.1,WEBSERVER-IP,8.8.8.8,10.193.99.2