asoul-sig / asouldocs

ASoulDocs is a stupid web server for multilingual documentation
https://asouldocs.dev
MIT License
1.37k stars 157 forks source link

Docker FATAL about custom/app.ini #50

Closed icaics closed 6 years ago

icaics commented 6 years ago

Hi,

When I use

$ docker run --name=peach -p 5555:5555 -v /docker/peach/data:/data/peach peachdocs/peach

to start docker, log says

[Peach] 18-07-27 02:18:49 [FATAL] No custom configuration found: 'custom/app.ini'

and it can't start

trid to mkdir custom and add app.ini and mkdir locale and add EN CN file, but it seems that the locale folder is not in the correct folder log says can't find local -

in the document says

# Peach will complain about missing custom app.ini, leave it there and see Settings section below.

but the Settings section is empty.

Where can I find some information ?

Thank you.

unknwon commented 6 years ago

Ah, sorry about documentation mistake. The first time start without custom/app.ini is meant to fail. You can create it in the volumed directory on your host system. Note that the volumed directory is already the "custom" directory, so you should directly create a new file named "app.ini" without a extra layer.

unknwon commented 6 years ago

Hmm.. my bad, it's not what I said exactly. Do not use Docker for this package, you have option to simply download a compiled binary here: https://github.com/peachdocs/peach/releases