Browse Source

refactor: revert for stupid compose project tag

master
Apostolos Fanakis 4 years ago
parent
commit
cb7491a4e5
  1. 8
      Makefile
  2. 8
      docker-compose.yml

8
Makefile

@ -1,11 +1,11 @@
build: build:
@docker-compose build; @docker-compose -p ecentrics build;
run: run:
@docker-compose up -d @docker-compose -p ecentrics up -d
stop: stop:
@docker-compose down @docker-compose -p ecentrics down
stop-clean-data: stop-clean-data:
@docker-compose down -v @docker-compose -p ecentrics down -v
copy-jobs: copy-jobs:
@docker cp jenkins:/var/jenkins_home/jobs/. ./jenkins/jobs @docker cp jenkins:/var/jenkins_home/jobs/. ./jenkins/jobs
update-plugins: update-plugins:

8
docker-compose.yml

@ -77,10 +77,10 @@ services:
- janus_network - janus_network
volumes: volumes:
- ./volumes/jenkins/log:/var/log/jenkins - ./volumes/jenkins/log:/var/log/jenkins
- jenkins-data:/var/jenkins_home - jenkins_data:/var/jenkins_home
- ./jenkins/downloads:/var/jenkins_home/downloads - ./jenkins/downloads:/var/jenkins_home/downloads
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- janus-common:/mnt/janus/common - janus_common:/mnt/janus/common
# Networks in use # Networks in use
networks: networks:
@ -100,5 +100,5 @@ secrets:
jenkins_dockerhub_password: jenkins_dockerhub_password:
file: ./jenkins/secrets/dockerhubPassword file: ./jenkins/secrets/dockerhubPassword
volumes: volumes:
jenkins-data: jenkins_data:
janus-common: janus_common:

Loading…
Cancel
Save