-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
63 lines (56 loc) · 1.2 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
version: '2'
volumes:
archivedata:
cartdata:
services:
cartrabbit:
image: rabbitmq
ports:
- 5672:5672
cartmysql:
image: mysql
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: pacifica_cartd
MYSQL_USER: cartd
MYSQL_PASSWORD: cartd
archiveinterface:
image: pacifica/archiveinterface
ports:
- 8080:8080
volumes:
- archivedata:/srv
cartworkers:
build:
context: .
dockerfile: Dockerfile
links:
- cartrabbit:amqp
- cartmysql:mysql
- archiveinterface:archivei
volumes:
- cartdata:/shared
environment:
PEEWEE_ADDR: mysql
BROKER_URL: pyamqp://guest:guest@amqp:5672//
ARCHIVE_INTERFACE_URL: http://archivei:8080/
VOLUME_PATH: /shared/
LRU_BUFFER_TIME: 0
cartserver:
build:
context: .
dockerfile: Dockerfile.uwsgi
ports:
- 8081:8081
links:
- cartrabbit:amqp
- cartmysql:mysql
- archiveinterface:archivei
volumes:
- cartdata:/shared
environment:
PEEWEE_ADDR: mysql
BROKER_URL: pyamqp://guest:guest@amqp:5672//
ARCHIVE_INTERFACE_URL: http://archivei:8080/
VOLUME_PATH: /shared/
LRU_BUFFER_TIME: 0