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