Skip to content

Instantly share code, notes, and snippets.

@EliasMasche
Last active August 19, 2024 01:18
Show Gist options
  • Save EliasMasche/ead754b9cd7079c473a142a01915e654 to your computer and use it in GitHub Desktop.
Save EliasMasche/ead754b9cd7079c473a142a01915e654 to your computer and use it in GitHub Desktop.
Docker compose for dashy dashboard
version: "3.8"
services:
dashy:
# To build from source, replace 'image: lissy93/dashy' with 'build: .'
# build: .
image: lissy93/dashy
# Pass in your config file below, by specifying the path on your host machine
volumes:
- /your/directory/dashy/config.yml:/app/user-data/conf.yml
ports:
- 4000:8080
# Set any environmental variables
environment:
- NODE_ENV=production
- UID=1000
- GID=1000
# Specify restart policy
restart: unless-stopped
# Configure healthchecks
healthcheck:
test:
- CMD
- node
- /app/services/healthcheck
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s
networks:
- dockge_default
networks:
dockge_default:
external: true
@EliasMasche
Copy link
Author

EliasMasche commented Aug 19, 2024

It requires a configuration as volumes are bind mount to a config file based in your directory:

https://gist.github.com/Lissy93/000f712a5ce98f212817d20bc16bab10#file-example-1-getting-started-conf-yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment