Commit b961eaaa by amir

add jenkins nd archiva stunnel

parent c4f9396d
Showing with 33 additions and 3 deletions
...@@ -4,7 +4,7 @@ services: ...@@ -4,7 +4,7 @@ services:
jenkins: jenkins:
image: jenkins image: jenkins
ports: ports:
- "8080:8080" # - "8080:8080"
- "50000:50000" - "50000:50000"
volumes: volumes:
- "/mnt/volume-nyc1-01/jenkins:/var/jenkins_home" - "/mnt/volume-nyc1-01/jenkins:/var/jenkins_home"
...@@ -16,7 +16,7 @@ services: ...@@ -16,7 +16,7 @@ services:
archiva: archiva:
image: xetusoss/archiva image: xetusoss/archiva
ports: ports:
- "8081:8080" - "8082:8080"
volumes: volumes:
- "/mnt/volume-nyc1-01/archiva:/archiva-data" - "/mnt/volume-nyc1-01/archiva:/archiva-data"
# - "/mnt/volume-nyc1-01/archiva/data:/var/archiva/data" # - "/mnt/volume-nyc1-01/archiva/data:/var/archiva/data"
...@@ -54,7 +54,36 @@ services: ...@@ -54,7 +54,36 @@ services:
- "/mnt/volume-nyc1-01/gitlab/letsencrypt:/etc/letsencrypt" - "/mnt/volume-nyc1-01/gitlab/letsencrypt:/etc/letsencrypt"
networks: networks:
- develop - develop
stunnel-archiva:
image: dweomer/stunnel
environment:
STUNNEL_SERVICE: archiva
STUNNEL_ACCEPT: 636
STUNNEL_CONNECT: archiva:8080
ports:
- 8081:636
volumes:
- /mnt/volume-nyc1-01/gitlab/letsencrypt/live/municipalitybank.com/fullchain.pem:/etc/stunnel/stunnel.pem:ro
- /mnt/volume-nyc1-01/gitlab/letsencrypt/live/municipalitybank.com/privkey.pem:/etc/stunnel/stunnel.key:ro
networks:
- develop
depends_on:
- archiva
stunnel-jenkins:
image: dweomer/stunnel
environment:
STUNNEL_SERVICE: jenkins
STUNNEL_ACCEPT: 636
STUNNEL_CONNECT: jenkins:8080
ports:
- 8080:636
volumes:
- /mnt/volume-nyc1-01/gitlab/letsencrypt/live/municipalitybank.com/fullchain.pem:/etc/stunnel/stunnel.pem:ro
- /mnt/volume-nyc1-01/gitlab/letsencrypt/live/municipalitybank.com/privkey.pem:/etc/stunnel/stunnel.key:ro
networks:
- develop
depends_on:
- jenkins
networks: networks:
develop: develop:
driver: bridge driver: bridge
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment