-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathresources-docker-compose.yml
55 lines (50 loc) · 1.16 KB
/
resources-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
version: '3'
# sphere-stack resources
#
# This is all the microservices which combine to make the sphere cloud resource services.
#
# NOTE: You will want to reconfigure all the passwords in here and the test_sql.sql file.
#
services:
spheremysql: # douitsu, activation databases
image: mariadb:10
env_file: config/spheremysql
ports:
- "3306:3306"
expose:
- "3306"
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD="true"
- MYSQL_USER="ninja"
- MYSQL_PASSWORD="ninja"
volumes:
- ./data/mysql:/var/lib/mysql
spherecouch: # document store
env_file: config/spherecouch
image: couchdb:1
ports:
- "5984:5984"
expose:
- "5984"
volumes:
- ./data/couchdb:/usr/local/var/lib/couchdb
sphererabbit: # message broker
image: ninjablocks/rabbitmq
env_file: config/sphererabbit
volumes:
- ./data/rabbitmq:/var/lib/rabbitmq
ports:
- "1883:1883"
- "5672:5672"
- "15672:15672"
expose:
- "1883"
- "5672"
- "15672"
sphereredis: # cache
env_file: config/sphereredis
image: redis:3
ports:
- "6379:6379"
expose:
- "6379"