-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot run in docker #17
Comments
Thanks for the bug report. Are any errors written to the console in the Gokapi container? And did you run the setup on first startup? |
All settings attributes are in ENV variables. In example upwards is only GOKAPI_USERNAME and GOKAPI_PASSWORD but I tried almost all settings include GOKAPI_CONFIG_FILE, GOKAPI_DATA_DIR, GOKAPI_SALT_ADMIN etc. So no...no setup. I thought that settings in ENV variables is enough. |
Can you post the whole output? If there are some sensitive values, you can black them out. |
`f0rc3-gokapi1 2021-05-11 10:14:28,stdout,Username: petr 2021-05-11 10:14:28,stdout,"First start, creating new admin account 2021-05-11 10:14:28,stdout, 2021-05-11 10:14:28,stdout, ██████ ██████ ██ ██ ██ ██ ██ ██ 2021-05-11 10:14:28,stdout,██ ██ ██ ██ ██ ██ ██ ██ ██ ██ 2021-05-11 10:14:28,stdout,██ ███ ██ ██ █████ ███████ ██████ ██ 2021-05-11 10:14:28,stdout,██ ██ ██ ██ ██ ██ ██ ██ ██ ██ 2021-05-11 10:14:28,stdout,██████ ██████ ██ ██ █████ ██████ ██ 2021-05-11 10:14:28,stdout, 2021-05-11 10:13:50,stdout,Password needs to be at least 6 characters long 2021-05-11 10:13:50,stdout, 2021-05-11 10:13:50,stdout,Password: ******************* 2021-05-11 10:13:50,stdout,Username: petr 2021-05-11 10:13:50,stdout,"First start, creating new admin account 2021-05-11 10:13:50,stdout, 2021-05-11 10:13:50,stdout, ██████ ██████ ██ ██ ██ ██ ██ ██ 2021-05-11 10:13:50,stdout,██ ██ ██ ██ ██ ██ ██ ██ ██ ██ 2021-05-11 10:13:50,stdout,██ ███ ██ ██ █████ ███████ ██████ ██ 2021-05-11 10:13:50,stdout,██ ██ ██ ██ ██ ██ ██ ██ ██ ██ 2021-05-11 10:13:50,stdout,██████ ██████ ██ ██ █████ ██████ ██ 2021-05-11 10:13:50,stdout,` That's all. |
Hm weird. Can you confirm that you have the following env variables set?
|
Great to hear it is working now! I will probably update the Readme in that regard as well |
Hi,
I'm trying run gokapi in docker on Synology NAS and neither after maybe tens attempts i'm don't have any success.
Can you help me with settings please?
I'm runnig many other containers but with this....i don't know.
My container minimal settings:
{ "cap_add" : null, "cap_drop" : null, "cmd" : "/app/gokapi", "cpu_priority" : 50, "devices" : null, "enable_publish_all_ports" : false, "enable_restart_policy" : false, "enabled" : true, "env_variables" : [ { "key" : "PATH", "value" : "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" }, { "key" : "GOKAPI_PASSWORD", "value" : "xxxxxxxxxxxxxxxxxx" }, { "key" : "GOKAPI_USERNAME", "value" : "myName" } ], "exporting" : false, "id" : "2379bc3ac01d530858f539bc131313d61cf54dbe0ea20b90694e015ad338875f", "image" : "f0rc3/gokapi:latest", "is_ddsm" : false, "is_package" : false, "links" : [], "memory_limit" : 0, "name" : "f0rc3-gokapi1", "network" : [ { "driver" : "bridge", "name" : "bridge" } ], "network_mode" : "bridge", "port_bindings" : [ { "container_port" : 53842, "host_port" : 0, "type" : "tcp" } ], "privileged" : false, "shortcut" : { "enable_shortcut" : false }, "use_host_network" : false, "volume_bindings" : [] }
Result:

Sorry for my bad eglish.
The text was updated successfully, but these errors were encountered: