82 lines
2.1 KiB
Markdown
82 lines
2.1 KiB
Markdown
#Docker/DockerCompose
|
|
#Public/Notta
|
|
## Dashy/Lissy93
|
|
```bash
|
|
---
|
|
# Welcome to Dashy! To get started, run `docker compose up -d`
|
|
# You can configure your container here, by modifying this file
|
|
version: "3.8"
|
|
services:
|
|
dashy:
|
|
container_name: Dashy
|
|
|
|
# Pull latest image from DockerHub
|
|
image: lissy93/dashy
|
|
|
|
# To build from source, replace 'image: lissy93/dashy' with 'build: .'
|
|
# build: .
|
|
|
|
# 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
|
|
volumes:
|
|
- /home/spada/docker/dashy/public/conf.yml:/app/public/conf.yml
|
|
- /home/spada/docker/dashy/icons:/app/public/item-icons
|
|
|
|
# Set port that web service will be served on. Keep container port as 80
|
|
ports:
|
|
- 8044: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`
|
|
- UID=1001
|
|
- GID=1001
|
|
|
|
# Specify restart policy
|
|
restart: unless-stopped
|
|
|
|
# Configure healthchecks
|
|
healthcheck:
|
|
test: ['CMD', 'node', '/app/services/healthcheck']
|
|
interval: 1m30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 40s
|
|
```
|
|
|
|
#Public/Notta
|
|
## Caddy
|
|
|
|
#Public/Notta
|
|
## Syncthing
|
|
```bash
|
|
---
|
|
version: "3"
|
|
services:
|
|
syncthing:
|
|
image: lscr.io/linuxserver/syncthing:latest
|
|
container_name: syncthing
|
|
hostname: syncthing
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ="America/Los_Angeles"
|
|
volumes:
|
|
- /path/to/appdata/config:/config
|
|
- /path/to/data1:/data1
|
|
- /path/to/data2:/data2
|
|
ports:
|
|
- 8384:8384 # Web UI
|
|
- 22000:22000/tcp # TCP file transfers
|
|
- 22000:22000/udp # QUIC file transfers
|
|
- 21027:21027/udp # Receive local discovery broadcasts
|
|
restart: unless-stopped
|
|
```
|