Skip to content

Commit

Permalink
Moved sfm version to .env.
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Littman committed Jan 6, 2017
1 parent 062c854 commit 45a9c57
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
1 change: 1 addition & 0 deletions example.env
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# For more information, see http://sfm.readthedocs.io/en/latest/install.html#configuration

# COMMON CONFIGURATION
SFM_VERSION=1.4.1
TZ=America/New_York
COMPOSE_PROJECT_NAME=sfm

Expand Down
34 changes: 17 additions & 17 deletions example.prod.docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "2"
services:
db:
image: gwul/sfm-ui-db:1.4.0
image: gwul/sfm-ui-db:${SFM_VERSION}
environment:
- POSTGRES_PASSWORD
- TZ
Expand Down Expand Up @@ -31,7 +31,7 @@ services:
restart: always
# These containers will exit on startup. That's OK.
data:
image: gwul/sfm-data:1.4.0
image: gwul/sfm-data:${SFM_VERSION}
volumes:
- ${DATA_VOLUME}
environment:
Expand All @@ -46,7 +46,7 @@ services:
environment:
- TZ
ui:
image: gwul/sfm-ui:1.4.0
image: gwul/sfm-ui:${SFM_VERSION}
ports:
- "${SFM_PORT}:8080"
links:
Expand Down Expand Up @@ -97,7 +97,7 @@ services:

# Twitter
twitterrestharvester:
image: gwul/sfm-twitter-rest-harvester:1.4.0
image: gwul/sfm-twitter-rest-harvester:${SFM_VERSION}
links:
- mq:mq
environment:
Expand All @@ -118,7 +118,7 @@ services:
- data
restart: always
twitterstreamharvester:
image: gwul/sfm-twitter-stream-harvester:1.3.1
image: gwul/sfm-twitter-stream-harvester:${SFM_VERSION}
links:
- mq:mq
environment:
Expand All @@ -139,7 +139,7 @@ services:
- data
restart: always
twitterrestexporter:
image: gwul/sfm-twitter-rest-exporter:1.4.0
image: gwul/sfm-twitter-rest-exporter:${SFM_VERSION}
links:
- mq:mq
- ui:api
Expand All @@ -160,7 +160,7 @@ services:
- data
restart: always
twitterstreamexporter:
image: gwul/sfm-twitter-stream-exporter:1.4.0
image: gwul/sfm-twitter-stream-exporter:${SFM_VERSION}
links:
- mq:mq
- ui:api
Expand All @@ -183,7 +183,7 @@ services:

# FLICKR
flickrharvester:
image: gwul/sfm-flickr-harvester:1.4.0
image: gwul/sfm-flickr-harvester:${SFM_VERSION}
links:
- mq:mq
environment:
Expand All @@ -204,7 +204,7 @@ services:
- data
restart: always
flickrexporter:
image: gwul/sfm-flickr-exporter:1.4.0
image: gwul/sfm-flickr-exporter:${SFM_VERSION}
links:
- mq:mq
- ui:api
Expand All @@ -227,7 +227,7 @@ services:

# WEB
heritrix:
image: gwul/sfm-heritrix:1.4.0
image: gwul/sfm-heritrix:${SFM_VERSION}
ports:
# Opens up the port for Heritrix admin console.
- "${HERITRIX_ADMIN_PORT}:8443"
Expand All @@ -247,7 +247,7 @@ services:
- data
restart: always
webharvester:
image: gwul/sfm-web-harvester:1.4.0
image: gwul/sfm-web-harvester:${SFM_VERSION}
links:
- mq:mq
- heritrix:heritrix
Expand All @@ -272,7 +272,7 @@ services:

# WEIBO
weiboharvester:
image: gwul/sfm-weibo-harvester:1.4.0
image: gwul/sfm-weibo-harvester:${SFM_VERSION}
links:
- mq:mq
environment:
Expand All @@ -293,7 +293,7 @@ services:
- data
restart: always
weiboexporter:
image: gwul/sfm-weibo-exporter:1.4.0
image: gwul/sfm-weibo-exporter:${SFM_VERSION}
links:
- mq:mq
- ui:api
Expand All @@ -316,7 +316,7 @@ services:

# TUMBLR
tumblrharvester:
image: gwul/sfm-tumblr-harvester:1.4.0
image: gwul/sfm-tumblr-harvester:${SFM_VERSION}
links:
- mq:mq
environment:
Expand All @@ -337,7 +337,7 @@ services:
- data
restart: always
tumblrexporter:
image: gwul/sfm-tumblr-exporter:1.4.0
image: gwul/sfm-tumblr-exporter:${SFM_VERSION}
links:
- mq:mq
- ui:api
Expand All @@ -361,7 +361,7 @@ services:
# PROCESSING
# This container will exit on startup. That's OK.
processing:
image: gwul/sfm-processing:1.4.0
image: gwul/sfm-processing:${SFM_VERSION}
links:
- ui:api
environment:
Expand All @@ -379,7 +379,7 @@ services:
# Multiple instances of this container can be included by duplicating this definition
# and changing ports and command.
# elk:
# image: gwul/sfm-elk:1.4.0
# image: gwul/sfm-elk:${SFM_VERSION}
# ports:
# #Kibana web interface
# - "5601:5601"
Expand Down

0 comments on commit 45a9c57

Please sign in to comment.