-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yml
88 lines (78 loc) · 1.85 KB
/
docker-compose.yml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
version: '3.9'
services:
mssql:
image: mcr.microsoft.com/mssql/server:2022-latest
ports:
- "1433:1433"
volumes:
- ~/apps/mssql/data:/var/lib/mssqlql/data
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=password
mysql:
image: mysql:9.1
ports:
- "3306:3306"
volumes:
- ~/apps/mysql:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_PASSWORD=An0thrS3crt
- MYSQL_USER=user
- MYSQL_DATABASE=mydatabase
postgres:
image: postgres:17.2-alpine
ports:
- "5432:5432"
volumes:
- data:/var/lib/postgresql
environment:
- POSTGRES_PASSWORD=password
- POSTGRES_USER=user
- POSTGRES_DB=mydatabase
pgadmin4:
image: dpage/pgadmin4
ports:
- "5050:80"
depends_on:
- postgres
environment:
- PGADMIN_DEFAULT_PASSWORD=admin
redis:
image: redis:7.4.1-alpine
ports:
- "6379:6379"
command: redis-server --save 60 1 --requirepass MDNcVb924a --loglevel warning
redisinsight:
image: 'redislabs/redisinsight:latest'
ports:
- '127.0.0.1:8001:8001'
jenkins:
image: jenkins/jenkins:latest
container_name: my-jenkins
ports:
- "8080:8080"
volumes:
- ~/jenkins_data:/var/jenkins_home
- /var/run/docker.sock:/var/run/docker.sock
mongodb:
image: mongo:8.0.4
ports:
- "27017:27017"
volumes:
- ~/apps/mongo:/data/db
environment:
- MONGO_INITDB_ROOT_USERNAME=user
- MONGO_INITDB_ROOT_PASSWORD=passcode
mongo-express:
image: mongo-express
ports:
- "8081:8081"
environment:
- ME_CONFIG_MONGODB_ADMINUSERNAME=user
- ME_CONFIG_MONGODB_ADMINPASSWORD=passcode
- ME_CONFIG_MONGODB_SERVER=mongodb
restart: unless-stopped
volumes:
data: