-
Notifications
You must be signed in to change notification settings - Fork 1
/
integration-tests.docker-compose.yml
69 lines (63 loc) · 2 KB
/
integration-tests.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
64
65
66
67
68
69
version: "3.8"
services:
integration-tests-imcaxy-server:
container_name: IntegrationTests.Imcaxy.Server
build:
context: ./
dockerfile: ./dockerfile
target: integration-tests
env_file: ./config/env/IntegrationTests.Imcaxy.Server.env
volumes:
- ./:/go/src/app
networks:
- integration-tests-imcaxy-internal
depends_on:
- integration-tests-imcaxy-mongo
- integration-tests-imcaxy-minio
- integration-tests-imcaxy-imaginary
integration-tests-imcaxy-imaginary:
container_name: IntegrationTests.Imcaxy.Imaginary
image: h2non/imaginary
env_file: ./config/env/IntegrationTests.Imcaxy.Imaginary.env
command: -enable-url-source
ports:
- 8080:8080
networks:
- integration-tests-imcaxy-internal
integration-tests-imcaxy-mongo:
container_name: IntegrationTests.Imcaxy.Mongo
image: mongo
env_file: ./config/env/IntegrationTests.Imcaxy.Mongo.env
ports:
# allow to connect using mongo compass
- 27017:27017
networks:
- integration-tests-imcaxy-internal
volumes:
- integration-tests-imcaxy-mongo-data:/data/db
- integration-tests-imcaxy-mongo-config:/data/configdb
integration-tests-imcaxy-minio:
container_name: IntegrationTests.Imcaxy.Minio
image: minio/minio
env_file: ./config/env/IntegrationTests.Imcaxy.Minio.env
command: server /data --console-address ":9001"
environment:
- MINIO_ACCESS_KEY=minio
- MINIO_SECRET_KEY=minio123
ports:
- 9000:9000
- 9001:9001
networks:
- integration-tests-imcaxy-internal
volumes:
- integration-tests-imcaxy-minio-data:/data
volumes:
integration-tests-imcaxy-mongo-data:
name: IntegrationTests.Imcaxy.Mongo.Data
integration-tests-imcaxy-mongo-config:
name: IntegrationTests.Imcaxy.Mongo.Config
integration-tests-imcaxy-minio-data:
name: IntegrationTests.Imcaxy.Minio.Data
networks:
integration-tests-imcaxy-internal:
name: IntegrationTests.Imcaxy.Internal