forked from earthpulse/eotdl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.test.yml
42 lines (38 loc) · 1014 Bytes
/
docker-compose.test.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
version: "3"
services:
eotdl-mongo-test:
image: mongo
eotdl-minio-test:
image: minio/minio
container_name: eotdl-minio-test
environment:
- MINIO_ROOT_USER=eotdl
- MINIO_ROOT_PASSWORD=12345678
command: server /data --console-address ":9001"
eotdl-api-test:
build: ./apis/eotdl
container_name: eotdl-api-test
environment:
- MONGO_URL=mongodb://eotdl-mongo-test:27017
- MONGO_DB_NAME=test
- S3_ENDPOINT=eotdl-minio-test:9000
- ACCESS_KEY_ID=eotdl
- SECRET_ACCESS_KEY=12345678
- S3_BUCKET=test
- ADMIN_API_KEY=12345678
- S3_SSL=False
- TZ=Europe/Madrid
env_file: # auth0 credentials
- .env
volumes:
- ./apis/eotdl:/api
- ./eotdl/eotdl:/api/eotdl
command: uvicorn api.main:app --host 0.0.0.0 --reload
eotdl-test:
build: ./eotdl
container_name: eotdl-test
environment:
- EOTDL_API_URL=http://eotdl-api-test:8000
volumes:
- ./eotdl:/eotdl
tty: true