-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdocker-compose.yml
50 lines (45 loc) · 1.01 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
version: "3.7"
services:
redis:
image: redis:7.0
expose:
- 6379
mysql:
image: mysql/mysql-server:${MYSQL_VERSION-8.0.27}
environment:
MYSQL_ROOT_PASSWORD: nylas_it
MYSQL_ROOT_HOST: "%"
MYSQL_USER: inboxtest
MYSQL_PASSWORD: inboxtest
MYSQL_DATABASE: synctest
PYTHONUNBUFFERED: 1
PYTHONDONTWRITEBYTECODE: 1
minio:
image: closeio/minio:branch-main
hostname: sync-engine.minio
environment:
- MINIO_ROOT_USER=sync-engine
- MINIO_ROOT_PASSWORD=sync-engine
- MINIO_BUCKET_NAME=sync-engine
- MINIO_DOMAIN=minio
app:
image: sync-engine_app
build:
context: .
dockerfile: Dockerfile
volumes:
- .:/opt/app
- ipython_data_local:/root/.ipython/profile_default
user: root
depends_on:
- redis
- mysql
- minio
# for running code formatting, isort
devtools:
image: circleci/python:3.7
working_dir: /src
volumes:
- .:/src
volumes:
ipython_data_local: {}