-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-alpine.yml
53 lines (51 loc) · 1.49 KB
/
docker-compose-alpine.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
services:
prometheus:
image: prom/prometheus
container_name: prometheus
ports:
- 9090:9090
restart: on-failure
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
golang:
container_name: golang_container
build:
dockerfile: Dockerfile.local
environment:
- STAGE=${STAGE}
- DB_URL=${DB_URL}
- DB_HOST=${DB_HOST}
- DB_PORT=${DB_PORT}
- DB_USER=${DB_USER}
- DB_PASSWORD=${DB_PASSWORD}
- DB_NAME=${DB_NAME}
- REDIS_HOST=${REDIS_HOST}
- REDIS_PORT=${REDIS_PORT}
- REDIS_USER=${REDIS_USER}
- REDIS_PASSWORD=${REDIS_PASSWORD}
- SENTRY_DSN=${SENTRY_DSN}
- DD_AGENT_HOST=${DD_AGENT_HOST}
- S3_BUCKET=${S3_BUCKET}
- AWS_REGION=${AWS_REGION}
- AWS_ACCESS_KEY=${AWS_ACCESS_KEY}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- TaskDefinitionSubnet1=${TaskDefinitionSubnet1}
- TaskDefinitionSubnet2=${TaskDefinitionSubnet2}
- TaskDefinitionSubnet3=${TaskDefinitionSubnet3}
- TaskDefinitionS3BucketName=${TaskDefinitionS3BucketName}
- TaskDefinitionSecurityGroup1=${TaskDefinitionSecurityGroup1}
- ClusterARN=${ClusterARN}
- TaskDefinitionARN=${TaskDefinitionARN}
- LOGS_SQS_URL=${LOGS_SQS_URL}
- STATUS_SQS_URL=${STATUS_SQS_URL}
- EMAIl_QUEUE_URL=${EMAIl_QUEUE_URL}
ports:
- 8080:8080
depends_on:
- prometheus
restart: on-failure
volumes:
- ./:/app
volumes:
db:
driver: local