-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathint.yml
166 lines (155 loc) · 4.23 KB
/
int.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
version: '3.6'
services:
newman:
image: postman/newman
command: sh -c 'while sleep 3600; do :; done'
entrypoint: ""
links:
- transmission-django
minio:
image: minio/minio
expose:
- 9000
environment:
- MINIO_ACCESS_KEY=TEST-DEV-KEY
- MINIO_SECRET_KEY=NON-TRIVIAL-SECRETKEY
- MINIO_DOMAIN=minio
command: server /data --address minio:9000
sftp:
image: atmoz/sftp
command: shipchain_user:shipchain_password:::upload
expose:
- 22
geth-poa:
image: shipchain/geth-poa:v1.9.2
expose:
- 8545
environment:
GETH_VERBOSITY: 1
profiles_psql:
image: circleci/postgres:10.10-alpine-postgis-ram
tmpfs:
- /dev/shm/pgdata/data
expose:
- 5432
environment:
POSTGRES_USER: profiles
POSTGRES_PASS: profiles
POSTGRES_HOST: profiles_psql
POSTGRES_DB: profiles
engine_psql:
image: circleci/postgres:10.10-alpine-ram
tmpfs:
- /dev/shm/pgdata/data
expose:
- 5432
environment:
POSTGRES_USER: engine
POSTGRES_PASS: engine
POSTGRES_DB: engine
transmission_psql:
expose:
- 5432
image: circleci/postgres:10.10-alpine-postgis-ram
tmpfs:
- /dev/shm/pgdata/data
environment:
- POSTGRES_USER=transmission
- POSTGRES_PASS=transmission
- POSTGRES_HOST=transmission_psql
- POSTGRES_DB=transmission
redis_db:
image: circleci/redis:alpine
tmpfs:
- /data
expose:
- 6379
command: >
--requirepass redis_pass --appendonly yes
celery:
image: transmission-django
command: ["watchmedo", "auto-restart", "-d", ".", "-p", "'*.py'", "--", "celery", "worker", "-A", "apps"]
links:
- transmission_psql
- redis_db
- minio
environment:
- PYTHONDONTWRITEBYTECODE=1
- ENV=INT
- SECRET_KEY=SECRET_KEY
- SERVICE=celery
- REDIS_URL=redis://:redis_pass@redis_db:6379/1
- ENGINE_RPC_URL=http://engine-rpc:2000
- INTERNAL_URL=http://transmission-django:8000
- PROFILES_URL=http://profiles-django:8000
- ELASTICSEARCH_URL
- AWS_ACCESS_KEY_ID=TEST-DEV-KEY
- AWS_SECRET_ACCESS_KEY=NON-TRIVIAL-SECRETKEY
- LOG_LEVEL
- FORCE_DEBUG
- DATABASE_URL=postgis://transmission:transmission@transmission_psql:5432/transmission
entrypoint: []
transmission-django:
image: transmission-django
command: python manage.py runserver 0.0.0.0:8000
expose:
- 8000
links:
- transmission_psql
- redis_db
- minio
environment:
- PYTHONDONTWRITEBYTECODE=1
- ENV=INT
- SECRET_KEY=SECRET_KEY
- SERVICE=runserver
- REDIS_URL=redis://:redis_pass@redis_db:6379/1
- ENGINE_RPC_URL=http://engine-rpc:2000
- INTERNAL_URL=http://transmission-django:8000
- PROFILES_URL=http://profiles-django:8000
- ELASTICSEARCH_URL
- AWS_ACCESS_KEY_ID=TEST-DEV-KEY
- AWS_SECRET_ACCESS_KEY=NON-TRIVIAL-SECRETKEY
- LOG_LEVEL=DEBUG
- FORCE_DEBUG
- DATABASE_URL=postgis://transmission:transmission@transmission_psql:5432/transmission
profiles-django:
image: 489745816517.dkr.ecr.us-east-1.amazonaws.com/profiles-django:dev
command: python manage.py runserver 0.0.0.0:8000
expose:
- 8000
links:
- redis_db
- profiles_psql
- engine-rpc
- minio
environment:
- PYTHONDONTWRITEBYTECODE=1
- ENV=INT
- SECRET_KEY=SECRET_KEY
- SERVICE=circleci
- REDIS_URL=redis://:redis_pass@redis_db:6379/1
- PSQL_NAME=profiles_psql
- DATABASE_URL=postgis://profiles:profiles@profiles_psql:5432/profiles
- INFLUXDB_DISABLED=True
- ENGINE_RPC_URL=http://engine-rpc:2000
engine-rpc:
image: 489745816517.dkr.ecr.us-east-1.amazonaws.com/engine-node:dev
expose:
- 2000
command: yarn start
links:
- redis_db
- minio
- sftp
- geth-poa
- engine_psql
environment:
- ENV=
- USE_JS_ORM_ENTITIES=true
- GETH_NODE=http://geth-poa:8545
- REDIS_URL=redis://:redis_pass@redis_db:6379/1
- PSQL_NAME=engine_psql
- DATABASE_URL=psql://engine:engine@engine_psql:5432/engine
- INFLUXDB_DISABLED=True
- SERVICE=engine-rpc