Coder Social home page Coder Social logo

Comments (3)

wuhuizuo avatar wuhuizuo commented on June 16, 2024

hijack the container, and exec env cmd, output:

LANG=C
BUILD_ID=62
USER=root
PWD=/tmp/build/put
HOME=/root
BUILD_PIPELINE_NAME=hci-testing
BUILD_TEAM_NAME=main
TERM=xterm-256color
BUILD_JOB_NAME=StaticQA-lib[Merge]
BUILD_NAME=1
SHLVL=1
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
_=/usr/bin/env

from gitlab-merge-request-resource.

cloudlena avatar cloudlena commented on June 16, 2024

which version of Concourse are you using?

from gitlab-merge-request-resource.

wuhuizuo avatar wuhuizuo commented on June 16, 2024

@mastertinner

concourse v3.9.1

here is my docker-compose.yml(wirtten according to concourse doc :

version: '3'

volumes:
  concourse_db_data:

services:
  concourse-db:
    image: postgres:9.6
    volumes: ["concourse_db_data:/var/lib/postgresql/data"]
    environment:
      POSTGRES_DB: concourse
      POSTGRES_USER: "${CONCOURSE_DB_USER:-concourse}"
      POSTGRES_PASSWORD: "${CONCOURSE_DB_PASSWORD:-changeme}"
      PGDATA: /database

  concourse-web:
    image: concourse/concourse
    links:
      - concourse-db
    command: web
    depends_on:
      - concourse-db
    ports: ["80:8080"]
    volumes: ["./keys/web:/concourse-keys"]
    restart: unless-stopped
    environment:
      CONCOURSE_BASIC_AUTH_USERNAME: "${CONCOURSE_USER:-concourse}"
      CONCOURSE_BASIC_AUTH_PASSWORD: "${CONCOURSE_PASSWORD:-changeme}"
      CONCOURSE_EXTERNAL_URL: "${CONCOURSE_EXTERNAL_URL}"
      CONCOURSE_POSTGRES_HOST: concourse-db
      CONCOURSE_POSTGRES_DATABASE: concourse
      CONCOURSE_POSTGRES_USER: "${CONCOURSE_DB_USER:-concourse}"
      CONCOURSE_POSTGRES_PASSWORD: "${CONCOURSE_DB_PASSWORD:-changeme}"

  concourse-worker:
    image: concourse/concourse
    privileged: true
    links: [concourse-web]
    depends_on: [concourse-web]
    command: worker
    volumes: ["./keys/worker:/concourse-keys"]
    environment:
      CONCOURSE_TSA_HOST: concourse-web

from gitlab-merge-request-resource.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.