🔀 Merge pull request #49 from Lissy93/BUG-FIX_Remove-dupplicate-from-compose

Fixes #48  - Removes duplicate Environment tag from docker-compose
This commit is contained in:
Alicia Sykes 2021-06-21 21:13:19 +01:00 committed by GitHub
commit 9c91cb52c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 6 deletions

View File

@ -3,20 +3,19 @@
version: "3.8" version: "3.8"
services: services:
dashy: dashy:
# Set any environmental variables
environment:
NODE_ENV: production
# To build from source, replace 'image: lissy93/dashy' with 'build: .' # To build from source, replace 'image: lissy93/dashy' with 'build: .'
# build: . build: .
image: lissy93/dashy # image: lissy93/dashy
container_name: Dashy container_name: Dashy
# Pass in your config file below, by specifying the path on your host machine # Pass in your config file below, by specifying the path on your host machine
# volumes: # volumes:
# - /root/my-config.yml:/app/public/conf.yml # - /root/my-config.yml:/app/public/conf.yml
ports: ports:
- 4000:80 - 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` # Specify your user ID and group ID. You can find this by running `id -u` and `id -g`
# environment:
# - UID=1000 # - UID=1000
# - GID=1000 # - GID=1000
# Specify restart policy # Specify restart policy