-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.test.yml
executable file
·44 lines (40 loc) · 1.09 KB
/
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
43
44
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:
image: eotdl/api:2024.02.08
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
- API_BASE_URL=http://localhost:8010 # used to generate file urls
env_file: # auth0 and eox credentials
- .env
ports:
- 8010:8000
# volumes:
# - ./api:/api
# - ./eotdl/eotdl:/api/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