-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
62 lines (60 loc) · 1.66 KB
/
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
version: '3'
services:
proxy:
image: proxy
build:
context: .
dockerfile: ./proxy/Dockerfile
volumes:
- ./logs:/home/nginx/app/log
- app:/home/nginx/www
ports:
- "80:8080"
depends_on:
- app
links:
- app
app:
image: dm:vaec
env_file:
- .env
volumes:
- ./logs:/home/nginx/app/log
- app:/home/nginx/www
command: sleep infinity
build:
context: .
dockerfile: Dockerfile
args:
S3_BUCKET_NAME: dev-dm
AWS_ACCESS_KEY_ID: ABCD
AWS_SECRET_ACCESS_KEY: 1234
AWS_REGION: us-gov-west-1
environment: &app_server_environment_vars
# The AWS key and secret access key refer to the S3 bucket user
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
AWS_REGION: ${AWS_REGION}
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}
CONTAINER_ROLE: app_server
DO_NOT_REPLY_MAILER_SENDER: ${DO_NOT_REPLY_MAILER_SENDER}
GA_TRACKING_ID: ${GA_TRACKING_ID}
HOSTNAME: ${HOSTNAME}
MAILER_SENDER: ${MAILER_SENDER}
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_HOST: ${POSTGRES_HOST}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_PORT: ${POSTGRES_PORT}
POSTGRES_USER: ${POSTGRES_USER}
RAILS_ENV: ${RAILS_ENV}
REDIS_URL: ${REDIS_URL}
S3_BUCKET_NAME: ${S3_BUCKET_NAME}
SES_SMTP_PASSWORD: ${SES_SMTP_PASSWORD}
SES_SMTP_USERNAME: ${SES_SMTP_USERNAME}
SURVEY_MONKEY_PASSWORD: ${SURVEY_MONKEY_PASSWORD}
SURVEY_MONKEY_TOKEN: ${SURVEY_MONKEY_TOKEN}
SURVEY_MONKEY_USERNAME: ${SURVEY_MONKEY_USERNAME}
networks:
- default
volumes:
app:
external: false