Created
August 9, 2020 10:18
-
-
Save Todorovikj/e3129abbfcc750735b33d259b9be5f9c to your computer and use it in GitHub Desktop.
Docker compose f1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
networks: | |
f1_app: | |
services: | |
f1-backend: | |
image: "todorovikj/f1_backend" | |
ports: | |
- "8080:8080" | |
volumes: | |
- "./Backend_gradle/build/libs:/home/myApp" | |
networks: | |
- f1_app | |
f1-angular: | |
image: "todorovikj/angular_app_container" | |
ports: | |
- "4200:4200" | |
volumes: | |
- "./Angular/nginx/:/etc/nginx/conf.d:ro" | |
- "./Angular/dist/Angular:/usr/share/nginx/html:ro" | |
networks: | |
- f1_app | |
jenkins: | |
image: "todorovikj/jenkins" | |
ports: | |
- "50000:50000" | |
- "8000:8080" | |
volumes: | |
- "/var/jenkins_home:/var/jenkins_home" | |
- "/var/run/docker.sock:/var/run/docker.sock" | |
environment: | |
- JENKINS_OPTS="--prefix=/jenkins" | |
networks: | |
- f1_app | |
nginx: | |
image: todorovikj/nginx-global | |
ports: | |
- "80:80" | |
volumes: | |
- "./nginx-global/:/etc/nginx/conf.d:ro" | |
networks: | |
- f1_app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment