-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmcx.yaml
46 lines (43 loc) · 816 Bytes
/
mcx.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
version: '3'
services:
jenkins:
build:
context: .
dockerfile: Dockerfile
ports:
- "8080:8080"
- "50000:50000"
volumes:
- ./data:/var/jenkins_home
- /var/run/docker.sock:/var/run/docker.sock
privileged: true
user: root
networks:
- mynetwork
gitea:
image: gitea/gitea:1.12.4
volumes:
- ./data:/data
ports:
- "3000:3000"
- "2222:22"
depends_on:
- db
restart: always
networks:
- mynetwork
db:
image: mariadb:10
restart: always
environment:
- MYSQL_ROOT_PASSWORD=changeme
- MYSQL_DATABASE=gitea
- MYSQL_USER=gitea
- MYSQL_PASSWORD=changeme
volumes:
- ./db/:/var/lib/mysql
networks:
- mynetwork
networks:
mynetwork:
driver: bridge