-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.override.yml
52 lines (52 loc) · 1.28 KB
/
docker-compose.override.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
version: "2"
services:
# front:
# ports:
# - 8080:80
# - 443:443
# volumes:
# - "./app/:/usr/share/nginx/html/app"
# - "./docs/:/usr/share/nginx/html/docs"
# compass:
# volumes:
# - "./app/styles:/home/style"
goconvey:
build:
context: .
dockerfile: docker/goconvey.Dockerfile
env_file: .env
volumes:
- "./go/src/api:/go/src/api"
- "./go/src/datastores:/go/src/datastores"
- "./go/src/models:/go/src/models"
- "./go/src/utils:/go/src/utils"
- "./docs:/home/docs"
- "./coverage:/home/coverage"
ports:
- 8082:8080
back-test:
build:
context: .
dockerfile: docker/go_test.Dockerfile
env_file: .env
volumes:
- "./go/src/api:/go/src/api"
- "./go/src/datastores:/go/src/datastores"
- "./go/src/models:/go/src/models"
- "./go/src/utils:/go/src/utils"
- "./docs:/home/docs"
- "./coverage:/home/coverage"
golint:
build:
context: .
dockerfile: docker/golinter.Dockerfile
env_file: .env
volumes:
- "./go/src/api:/go/src/api"
- "./go/src/datastores:/go/src/datastores"
- "./go/src/models:/go/src/models"
- "./go/src/utils:/go/src/utils"
database:
env_file: .env
ports:
- 3306:3306