forked from jiancheng-aws/rabbit-amazon-forwarder
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (35 loc) · 846 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (35 loc) · 846 Bytes
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
version: '3.1'
services:
rabbitamazonforwarder:
image: airhelp/rabbit-amazon-forwarder
ports:
- "8080:8080"
volumes:
- "${MAPPING_FILE}:/config/mapping.json"
- "${CERTS_DIR:-./certs}:/certs"
environment:
MAPPING_FILE: /config/mapping.json
AWS_REGION: ${AWS_REGION}
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}
CA_CERT_FILE: ${CA_CERT_FILE:- }
CERT_FILE: ${CERT_FILE:- }
KEY_FILE: ${KEY_FILE:- }
tests:
build:
context: .
dockerfile: Dockerfile-test
command: go test ./...
depends_on:
- fmt
- vet
vet:
build:
context: .
dockerfile: Dockerfile-test
command: go vet -v ./...
fmt:
build:
context: .
dockerfile: Dockerfile-test
command: gofmt ./...