Compare commits
No commits in common. 'main' and 'main' have entirely different histories.
3 changed files with 0 additions and 32 deletions
@ -1,5 +0,0 @@ |
|||||||
### 1. khởi động Docker |
|
||||||
```docker compose up -d``` |
|
||||||
### 2. khởi động Docker |
|
||||||
Now, you're ready to install plugins and start creating pipelines. If you want to stop the Jenkins container you can do it with docker-compose down. When you restart it all your configuration, users, plugins previously installed will persist there. |
|
||||||
```docker exec jenkins_se cat /var/jenkins_home/secrets/initialAdminPassword``` |
|
@ -1,27 +0,0 @@ |
|||||||
version: '3.7' |
|
||||||
services: |
|
||||||
jenkins: |
|
||||||
image: jenkins/jenkins:lts |
|
||||||
container_name: jenkins_se |
|
||||||
privileged: true |
|
||||||
user: root |
|
||||||
ports: |
|
||||||
- 8085:8080 |
|
||||||
- 51000:51000 |
|
||||||
environment: |
|
||||||
JENKINS_ADMIN_ID: admin |
|
||||||
JENKINS_ADMIN_PASSWORD: gk@corp@22$ |
|
||||||
volumes: |
|
||||||
- ~/jenkins:/var/jenkins_home |
|
||||||
# - ./jenkins_data:/var/jenkins_home |
|
||||||
- ~/.ssh:/root/.ssh |
|
||||||
- /var/run/docker.sock:/var/run/docker.sock |
|
||||||
- /usr/local/bin/docker:/usr/local/bin/docker |
|
||||||
- /projects:/projects |
|
||||||
networks: |
|
||||||
- app-network |
|
||||||
networks: |
|
||||||
app-network: |
|
||||||
name: gk.internal |
|
||||||
#driver: bridge |
|
||||||
external: true |
|
Loading…
Reference in new issue