-
Notifications
You must be signed in to change notification settings - Fork 0
/
dev-compose.yml
50 lines (49 loc) · 1.12 KB
/
dev-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
version: "3"
services:
walk-the-camino:
image: walk-the-camino/walk-the-camino:latest
build: .
entrypoint: go run project.go
environment:
SSL_ENABLED: "true"
HTTP_PORT: "4444"
HTTP_LISTEN_ADDRESS: "0.0.0.0"
CERTFILE: "/cert/cert.crt"
KEYFILE: "/cert/cert.key"
TRUSTSTORE: "/cert/cert.crt"
networks:
- lhmzhou-network
volumes:
- ./cert:/cert/
ports:
- 3200:3200
- 8006:8006
- 4444:4444
# unit Test cases
tests:
build: .
entrypoint: ./units.sh
volumes:
- ./.coverage/:/home/src/walk-the-camino/.coverage/
networks:
- lhmzhou-network
# functional bdd test cases
functional:
build:
context: .
dockerfile: Dockerfile_functional
entrypoint: sh run.sh functional false false
volumes:
- ./report/:/home/src/walk-the-camino/tests/functional/report
- ./cert:/cert/
networks:
- lhmzhou-network
depends_on:
- walk-the-camino
environment:
CERTFILE: "/cert/cert.crt"
networks:
default:
external:
name: lhmzhou-network
# docker-compose -f dev-compose.yml up