Skip to content

Commit

Permalink
Move docker-compose build config into a separate file.
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterMartin committed Jul 3, 2020
1 parent 8c09ce9 commit 9559a8c
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ chords_env.sh
.env
.env-*
chords-*.yml
docker-compose-*.yml
docker-compose-2020*.yml
chords_control-*
chords.yml
bin/*.tgz
Expand Down
34 changes: 34 additions & 0 deletions docker-compose-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
version: '3.3'

# Use this in conjunction with docker-compose.yml to build CHORDS images.
#
# To use, both docker-compose files must be specified:
#
# docker-compose -f docker-compose.yml -f docker-compose-build.yml build
# or
# docker-compose -f docker-compose.yml -f docker-compose-build.yml build <service>

services:
app:
build: .

nginx:
image: ncareol/chords_nginx:${DOCKER_TAG}
build:
context: .
dockerfile: ./bin/nginx/Dockerfile

certbot:
build:
context: .
dockerfile: ./bin/certbot/Dockerfile

kapacitor:
build:
context: ./bin/kapacitor
dockerfile: Dockerfile

grafana:
build:
context: ./bin/grafana
dockerfile: Dockerfile

0 comments on commit 9559a8c

Please sign in to comment.