-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
64 lines (58 loc) · 1.2 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
61
62
63
64
version: '3.5'
networks:
jsql-app-net:
name: jsql-app-net
#driver: overlay
driver: bridge
volumes:
mysql-test-storage:
cassandra-test-storage:
services:
mysql-db:
image: mysql:8.0.13
environment:
MYSQL_DATABASE: testDB
MYSQL_ROOT_PASSWORD: root
ports:
- 3306:3306
networks:
- jsql-app-net
volumes:
- mysql-test-storage:/var/lib/mysql
phpmyadmin:
image: phpmyadmin/phpmyadmin
environment:
PMA_HOST: mysql-db
PMA_PORT: 3306
PMA_PMADB: testDB
MYSQL_ROOT_PASSWORD: root
ports:
- 8081:80
networks:
- jsql-app-net
depends_on:
- mysql-db
restart: on-failure
cassandra-db:
image: cassandra:latest
ports:
- 9042:9042
networks:
- jsql-app-net
volumes:
- cassandra-test-storage:/var/lib/cassandra
cassandra-web:
image: ipushc/cassandra-web:latest
ports:
- 8082:8083
environment:
READ_ONLY: "false"
CASSANDRA_HOST: cassandra-db
CASSANDRA_PORT: 9042
#CASSANDRA_USERNAME: cassandra
#CASSANDRA_PASSWORD: cassandra
restart: on-failure
networks:
- jsql-app-net
depends_on:
- cassandra-db