Giter VIP home page Giter VIP logo

docker-etesync's People

Contributors

saierd avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

cheako

docker-etesync's Issues

Missing mime types

I copied /etc/mime.types in and killed the top uwsgi process. That fixed it up.

Confused about initial setup and usage

I got as far as to need /api. Looks like uwsgi is treating /api as static, was I supposed to setup something else to handle /api? The /admin folder also appears to be setup as static.

    root /var/www/notes/public_html;
    location ~ ^/\.well-known(/|$) {
        try_files $uri $uri/ =404;
    }
    location ~ ^(/precache-manifest|(/admin|/api|/login|/service|/signup|/static)(/|$)|(/|/favicon\.ico|/index\.html|/manifest\.json|/service-worker\.js)$) {
        proxy_pass http://172.17.0.3:8080;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }
    location ~ ^/joplin(/|$) {
	autoindex  on;

	auth_basic              realm_name;
	auth_basic_user_file    /etc/nginx/.joplin-credentials.list;

	dav_methods     PUT DELETE MKCOL COPY MOVE;
	dav_ext_methods PROPFIND OPTIONS;
	dav_access      user:rw group:rw all:r;
	
	client_body_temp_path   /tmp/nginx/client-bodies;
	client_max_body_size    0;
	create_full_put_path    on;
    }
    location ~ ^/websuite(/|$) {
        try_files $uri $uri/ =404;
    }
    location ~ ^/wss(/|$) {
        proxy_pass http://unix:/home/srv_websuite/var/warp-dev.sock;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }
    location ~ .* {
        proxy_pass http://unix:/home/srv_websuite/var/warp-dev.sock;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
    }

Feature Request: Use static password instead of random password

Using a static password would allow the password to be documented in the readme, so that the docker container can be started without the user needing to read its output for the randomly generated password. The user can then change the default password on login

Seeing permission denied when attempting to run docker image

Command ran:
docker run --name=etesync --restart always -v /opt/etesync:/data -p 8080:3735 dsaier/etesync

Output

Traceback (most recent call last):
  File "/opt/etesync/etesync_server/utils.py", line 19, in get_secret_from_file
    with open(path, "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/data/secret.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/etesync/manage.py", line 22, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 325, in execute
    settings.INSTALLED_APPS
  File "/usr/local/lib/python3.8/site-packages/django/conf/__init__.py", line 79, in __getattr__
    self._setup(name)
  File "/usr/local/lib/python3.8/site-packages/django/conf/__init__.py", line 66, in _setup
    self._wrapped = Settings(settings_module)
  File "/usr/local/lib/python3.8/site-packages/django/conf/__init__.py", line 157, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/opt/etesync/etesync_server/settings.py", line 185, in <module>
    SECRET_KEY = get_secret_from_file(SECRET_FILE)
  File "/opt/etesync/etesync_server/utils.py", line 22, in get_secret_from_file
    with open(path, "w") as f:
PermissionError: [Errno 13] Permission denied: '/data/secret.txt'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.