From 63b2e65f333f52c121f7baae4611200502f3ed62 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Mon, 21 Jun 2021 21:04:49 +0100 Subject: [PATCH] :fire: Re #48 - Removes duplicate Environment tag from docker-compose --- docker-compose.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 5a06d02a..ff047737 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,20 +3,19 @@ version: "3.8" services: dashy: - # Set any environmental variables - environment: - NODE_ENV: production # To build from source, replace 'image: lissy93/dashy' with 'build: .' - # build: . - image: lissy93/dashy + build: . + # image: lissy93/dashy container_name: Dashy # Pass in your config file below, by specifying the path on your host machine # volumes: # - /root/my-config.yml:/app/public/conf.yml ports: - 4000:80 + # Set any environmental variables + environment: + - NODE_ENV=production # Specify your user ID and group ID. You can find this by running `id -u` and `id -g` - # environment: # - UID=1000 # - GID=1000 # Specify restart policy