Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnewhall committed Jul 17, 2024
1 parent c156a9d commit 315b7c4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 4 additions & 3 deletions init/config/compose.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (

/* This file creates an example compose file: docker-compose.yml */

//nolint:lll
const (
space = " "
composeHeader = `### Unpackerr docker-compose.yml Example
Expand All @@ -31,9 +30,11 @@ services:
# Get the user:group correct so unpackerr can read and write to your files.
user: ${PUID}:${PGID}
#user: 1000:100
# What you see below are defaults for this compose. You only need to modify things specific to your environment.
# What you see below are defaults mixed with examples where examples make more sense than the default.
# You only need to modify things specific to your environment.
# Remove apps and feature configs you do not use or need.
# ie. Remove all lines that begin with UN_CMDHOOK, UN_WEBHOOK, UN_FOLDER, UN_WEBSERVER, and other apps you do not use.
# ie. Remove all lines that begin with UN_CMDHOOK, UN_WEBHOOK,
# UN_FOLDER, UN_WEBSERVER, and other apps you do not use.
environment:
- TZ=${TZ}`
)
Expand Down
2 changes: 2 additions & 0 deletions init/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import (
"github.com/BurntSushi/toml"
)

/* This file creates an example config file: unpackerr.conf.example */

func printConfFile(config *Config, output string) {
buf := bytes.Buffer{}

Expand Down
2 changes: 2 additions & 0 deletions init/config/definitions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ recommendations:
- name: 24 hours
value: 24h
folders: &FOLDER_INTERVALS
- name: Default (1s in Docker)
value: 0s
- name: Disabled
value: 1ms
- name: 1/2 second
Expand Down

0 comments on commit 315b7c4

Please sign in to comment.