-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
61 lines (51 loc) · 1.05 KB
/
docker-compose.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: '3'
services:
redis:
image: redis:alpine
ports:
- "6379:6379"
volumes:
- ./redis/data/redis:/data
restart: always
postgres:
image: postgres:10-alpine
ports:
- "5432:5432"
environment:
POSTGRES_USER: 'pguser'
POSTGRES_PASSWORD: 'pgpass'
POSTGRES_DB: 'test'
volumes:
- ./postgres/data/postgres:/var/lib/postgresql/data
mysql:
image: mysql:5.7
ports:
- "3306:3306"
restart: always
environment:
MYSQL_ROOT_PASSWORD: 'qa_pass'
MYSQL_USER: 'qa_user'
MYSQL_PASSWORD: 'qa_pass'
MYSQL_DATABASE: 'qa'
volumes:
- ./mysql/data:/var/lib/mysql
db-adminer:
image: adminer
restart: always
ports:
- 9005:8080
nginx:
image: nginx:latest
ports:
- "8081:80"
volumes:
- ./nginx/conf:/etc/nginx
- ./nginx/html:/var/www/html
php:
build: ./php
ports:
- "9000:9000"
volumes:
- "./php/html:/var/www/html"
sbt:
image: warriortrading/mvn_jdk11_compiler:DEV-9