Jump to content

Eraxar

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Eraxar

  1. On 2/15/2020 at 1:23 AM, bling said:

    FYI you can run both the web server and consumer in a single docker container by using a bash script:

    
    #! /bin/bash
    
    /sbin/docker-entrypoint.sh document_consumer &
    /sbin/docker-entrypoint.sh runserver 0.0.0.0:8000 --insecure --noreload &
    wait

    save this file into a volume that's mounted in the container.  i just put this in the appdata directory.

    then turn on advanced view and override the entry point, e.g.

    
    --entrypoint /usr/src/paperless/data/entry.sh

    clear out the 'post arguments', since you're doing that in the bash script now.

    tried this but if i do so the container doesnt start. iam only get this error in the log:

    standard_init_linux.go:211: exec user process caused "no such file or directory"

    andy idea what went wrong?

  2. yes iam using a subdamain for that here ist my conf file:

    ## Server FreshRSS ##
    server {
    	listen 80;
    	listen 443 ssl;
    	index index.html index.htm index.php;
    	server_name rss.server.com;
    ssl_certificate /config/keys/letsencrypt/fullchain.pem;
    	ssl_certificate_key /config/keys/letsencrypt/privkey.pem;
    	ssl_dhparam /config/nginx/dhparams.pem;
    	ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA';
    	ssl_prefer_server_ciphers on;
    	ssl_ecdh_curve prime256v1;
    	client_max_body_size 0;
    	root /config/www/freshrss/p;
    	index index.php index.html index.htm;
    	location ~ ^.+?\.php(/.*)?$ {
    	fastcgi_pass 127.0.0.1:9000;
    	fastcgi_split_path_info ^(.+\.php)(/.+)$;
    	fastcgi_param PATH_INFO $fastcgi_path_info;
    	include /etc/nginx/fastcgi_params;
    	fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    	}
    	location / {
    		try_files $uri $uri/ index.php;
    		
    	}
    }

     

×
×
  • Create New...