mirror of
https://github.com/Lissy93/dashy.git
synced 2024-11-22 20:25:13 +03:00
🐳 Updates docker-compose with option for tagged builds
This commit is contained in:
parent
52c90bae31
commit
aee62fdefe
@ -1,25 +1,42 @@
|
|||||||
---
|
---
|
||||||
# Welcome to Dashy! To get started, run `docker compose up`
|
# Welcome to Dashy! To get started, run `docker compose up`
|
||||||
|
# You can configure your container here, by modifying this file
|
||||||
version: "3.8"
|
version: "3.8"
|
||||||
services:
|
services:
|
||||||
dashy:
|
dashy:
|
||||||
|
container_name: Dashy
|
||||||
|
|
||||||
|
# Pull latest image from DockerHub
|
||||||
|
image: lissy93/dashy
|
||||||
|
|
||||||
# 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
|
|
||||||
container_name: Dashy
|
# Or, to use a Dockerfile for your archtecture, uncomment the following
|
||||||
|
# context: .
|
||||||
|
# dockerfile: ./docker/Dockerfile-arm32v7
|
||||||
|
|
||||||
|
# You can also use an image with a different tag, or pull from a different registry, e.g:
|
||||||
|
# image: ghcr.io/lissy93/dashy or image: lissy93/dashy:arm64v8
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
|
# Set port that web service will be served on. Keep container port as 80
|
||||||
ports:
|
ports:
|
||||||
- 4000:80
|
- 4000:80
|
||||||
|
|
||||||
# Set any environmental variables
|
# Set any environmental variables
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- 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`
|
||||||
# - UID=1000
|
# - UID=1000
|
||||||
# - GID=1000
|
# - GID=1000
|
||||||
|
|
||||||
# Specify restart policy
|
# Specify restart policy
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
# Configure healthchecks
|
# Configure healthchecks
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ['CMD', 'node', '/app/services/healthcheck']
|
test: ['CMD', 'node', '/app/services/healthcheck']
|
||||||
|
Loading…
Reference in New Issue
Block a user