Skip to content

Instantly share code, notes, and snippets.

@tkrausjr
Created May 22, 2019 16:51
Show Gist options
  • Save tkrausjr/4174645cf6f2851c7e6a57663fd66384 to your computer and use it in GitHub Desktop.
Save tkrausjr/4174645cf6f2851c7e6a57663fd66384 to your computer and use it in GitHub Desktop.
version: '3'
services:
concourse-db:
image: postgres
volumes:
- ./post-data:/database
environment:
- POSTGRES_DB=concourse
- POSTGRES_PASSWORD=concourse_pass
- POSTGRES_USER=concourse_user
- PGDATA=/database
concourse-web:
image: concourse/concourse:5.1
command: web
links: [concourse-db]
depends_on: [concourse-db]
ports: ["8080:8080"]
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=http://10.173.13.90:8080/
- CONCOURSE_ADD_LOCAL_USER=nsx:vmware
#- CONCOURSE_MAIN_TEAM_ALLOW_ALL_USERS=true
- CONCOURSE_MAIN_TEAM_LOCAL_USER=nsx
concourse-worker:
image: concourse/concourse:5.1
command: worker
privileged: true
links: [concourse-web]
stop_signal: SIGUSR2
depends_on: [concourse-web]
volumes: ["./keys/worker:/concourse-keys"]
environment:
- CONCOURSE_TSA_HOST=concourse-web:2222
- CONCOURSE_GARDEN_NETWORK
- CONCOURSE_GARDEN_DNS_SERVER=10.173.13.90
nginx:
image: nginx:stable-alpine
container_name: nginx
volumes:
- /root/nsxt/:/var/www/html/
#- ./nginx/conf.d:/etc/nginx/conf.d
#- ./nginx/vhost.d:/etc/nginx/vhost.d
- /root/nsxt/:/usr/share/nginx/html
#- ./nginx/certs:/etc/nginx/certs:ro
#- ./nginx/proxy.conf:/etc/nginx/proxy.conf:ro
ports:
- "80:80"
- "443:443"
cors-proxy:
image: rroque99/cors-proxy
ports:
- "8020:8020"
nsx-t-pipeline-ui:
image: rroque99/nsx-t-pipeline-ui
ports:
- "8010:80"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment