update
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
---
|
||||
# Welcome to Dashy! To get started, run `docker compose up -d`
|
||||
# You can configure your container here, by modifying this file
|
||||
# If you need to download the Icons from GIT. Go to the root directory of Dashy >
|
||||
# sudo git clone https://github.com/walkxcode/dashboard-icons.git
|
||||
# This will create a dashboard-icons directory with all the png and svg files.
|
||||
|
||||
services:
|
||||
dashy:
|
||||
container_name: dashy
|
||||
|
||||
# Pull latest image
|
||||
image: 'lissy93/dashy'
|
||||
|
||||
# To build from source, replace 'image: lissy93/dashy' with 'build: .'
|
||||
# build: .
|
||||
|
||||
# You can also use an image with a different tag, or pull from a different r>
|
||||
# image: ghcr.io/lissy93/dashy or image: lissy93/dashy:3.0.0
|
||||
|
||||
# Mapping data to the volume created for this service
|
||||
volumes:
|
||||
- /home/miker/docker/dashy/data/config/conf.yml:/app/user-data/conf.yml
|
||||
- /home/miker/docker/dashy/png:/app/user-data/icons
|
||||
# Set port that web service will be served on. Keep container port as 8080
|
||||
# ports:
|
||||
# - 4000:8080
|
||||
|
||||
# Set any environmental variables
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
# Specify your user ID and group ID. You can find this by running `id -u` an>
|
||||
- UID=1000 # Update to match your UID
|
||||
- GID=1000 # Update to match your GID.
|
||||
|
||||
# Sets the service to restart always unless it is stopped manually.
|
||||
restart: unless-stopped
|
||||
|
||||
# Configure healthchecks
|
||||
healthcheck:
|
||||
test: ['CMD', 'node', '/app/services/healthcheck']
|
||||
interval: 1m30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
# Service will be place in the proxy network for NPM security
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user