aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
blob: 944f856ed76ab1d8fef6bacd9fcd605aa357ee6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
version: '3'
services:
  backend:
    build: ./
    network_mode: "bridge"
    container_name: jenkins_docker
    image: thornycrackers/jenkins_docker
    ports:
      - "8000"
      - "50000"
    volumes:
      - ./jenkins_home:/var/jenkins_home
      - /var/run/docker.sock:/var/run/docker.sock
    command: /bin/bash
    tty: true
    stdin_open: true