Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akarsh/jenkins-nginx-reverse-proxy-configuration
Demonstration of nginx and jenkins docker continer images in arm64 macOS
https://github.com/akarsh/jenkins-nginx-reverse-proxy-configuration
arm64 configuration-file docker-compose docker-network jenkins macos nginx
Last synced: about 1 month ago
JSON representation
Demonstration of nginx and jenkins docker continer images in arm64 macOS
- Host: GitHub
- URL: https://github.com/akarsh/jenkins-nginx-reverse-proxy-configuration
- Owner: akarsh
- License: gpl-3.0
- Created: 2023-05-07T12:50:01.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-07T12:56:00.000Z (almost 2 years ago)
- Last Synced: 2024-11-06T04:29:35.225Z (3 months ago)
- Topics: arm64, configuration-file, docker-compose, docker-network, jenkins, macos, nginx
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jenkins-nginx-reverse-proxy-configuration
This project contains a docker-compose yaml file which is targeted towards users of arm64 architecture M1 Mac
# Jenkins: Reverse proxy - Nginx
The docker-compose yaml file contains Nginx and Jenkins docker images.
## Docker network: jenkins-net
Docker network needs to be created in order to interconnect Nginx and Jenkins docker containers.
```
docker network create --driver bridge jenkins-net
```## Add host jenkins.example.com to /etc/hosts file
You need to make change in the file /etc/hosts and add
```
127.0.0.1 jenkins.example.com
```
to /etc/hosts file.## Build and run
For detached execution docker-compose yaml file execute
```
docker-compose -f docker-compose.yaml up -d
```Jenkins will be running on host url: http://jenkins.example.com
## Stop
To stop the selenium-hub container execute
```
docker-compose -f docker-compose.yaml down
```