-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeso-alert.docker
36 lines (31 loc) · 1.11 KB
/
meso-alert.docker
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
#
# IMPORTANT: After making changes to this file, before committing your changes
# ensure that the play application starts up correctly in production mode
# by running:
#
# make docker-server-start
#
FROM registry.gitlab.com/mesonomics/spark-bitcoin-graph/mesonomics-sdk-base
MAINTAINER [email protected] version: 0.1
ARG POSTGRES_PASSWORD
ARG POSTGRES_PORT
ARG SODIUM_KEY
ARG PLAY_KEY
ARG SLACK_CLIENT_ID
ARG SLACK_CLIENT_SECRET
ARG SLACK_SIGNING_SECRET
ARG SLACK_DEPLOY_URL
ARG POSTGRES_HOST
ARG EMAIL_SMTP_HOST
ARG EMAIL_SMTP_PORT
ARG EMAIL_HOST
ARG EMAIL_HOST_PASSWORD
ARG EMAIL_DESTINATION
ARG AUTH0_CLIENT_ID
ARG AUTH0_DOMAIN
ARG AUTH0_AUDIENCE
ADD ./target /root/target
ADD ./docker/start-play.sh /root/start-play.sh
ADD ./docker/project-setup.sh /root/project-setup.sh
RUN /root/project-setup.sh $POSTGRES_PASSWORD $POSTGRES_PORT $SODIUM_KEY $PLAY_KEY $SLACK_CLIENT_ID $SLACK_CLIENT_SECRET $POSTGRES_HOST $EMAIL_SMTP_HOST $EMAIL_SMTP_PORT $EMAIL_HOST $EMAIL_HOST_PASSWORD $EMAIL_DESTINATION $SLACK_DEPLOY_URL $AUTH0_CLIENT_ID $AUTH0_DOMAIN $AUTH0_AUDIENCE $SLACK_SIGNING_SECRET
ENTRYPOINT ["/root/start-play.sh"]