forked from lightning-viz/lightning
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fig.postgres.yml
37 lines (37 loc) · 1010 Bytes
/
fig.postgres.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
##################################################################
#
# fig.postgres.yml
#
# author: Rion Dooley <[email protected]>
#
# This is the "production" Fig file to running the Lightning data
# Vizualization Server with a PostgreSQL db. It will run on your
# Docker host, port 3000. To add authentication to the server, or
# leverage Amazon S3 storage, fill in the environment variables
# with the appropraite values.
#
###################################################################
web:
image: deardooley/lightning-viz
# build: .
command: npm run migrate && npm start
ports:
- 3000:3000
links:
- postgres
environment:
NODE_ENV: production
DATABASE_URL: lightning:changeit@postgres:5432/lightning-viz
LIGHTNING_USERNAME:
LIGHTNING_PASSWORD:
S3_KEY:
S3_BUCKET:
S3_SECRET:
postgres:
image: orchardup/postgresql:9.3
environment:
POSTGRESQL_PASS: changeit
POSTGRESQL_USER: lightning
POSTGRESQL_DB: lightning-viz
ports:
- 5432