From 4b999e9dc5ada7010a40ede258de30128a289408 Mon Sep 17 00:00:00 2001 From: timvisee Date: Thu, 9 Jul 2020 12:11:05 +0200 Subject: [PATCH] Make Send image configurable --- .env.example | 3 +++ README.md | 3 +++ docker-compose.yaml | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index 01d5756..87bd29e 100644 --- a/.env.example +++ b/.env.example @@ -1,3 +1,6 @@ +# Docker image to use for Send +DOCKER_SEND_IMAGE=mozilla/send:latest + # Host to expose Send on HOST=send.example.org diff --git a/README.md b/README.md index cb22357..f56d17e 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,9 @@ See [docker-compose.yaml](./docker-compose.yaml). ### Example .env ```bash +# Docker image to use for Send +DOCKER_SEND_IMAGE=mozilla/send:latest + # Host to expose Send on HOST=send.example.org diff --git a/docker-compose.yaml b/docker-compose.yaml index 842c08d..dde7702 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -28,7 +28,7 @@ services: - proxy-vhost:/etc/nginx/vhost.d - proxy-html:/usr/share/nginx/html send: - image: 'mozilla/send:latest' + image: '${DOCKER_SEND_IMAGE}' restart: always ports: - '1234:1234'