Coder Social home page Coder Social logo

docker-wallabag's People

Contributors

amtrack avatar bobmaerten avatar nicosomb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker-wallabag's Issues

broken css + js src refs

Hi,

Am I currently running your docker image on a subdomain behind a nginx reverse proxy. Currently none of the styles on the page will load because their url source ref roots are set to localhost:[exposed docker container port]
screen shot 2015-12-27 at 11 20 58 pm

Support wallabag 2.0

Hi,

Since you have the most downloaded and starred docker image for wallabag, I thought I might direct the question at you. Do you have any plans to support wallabag 2.0?

Initial set-up/registration

I don't see it documented how to log-in initially once the container is up. I went in and modified config.inc.php by hand to temporarily allow user registration, but it'd be great if you could do this through environment variables or something. Or if there is a way, could you put it in the readme?

Also, you may consider generating a secure salt value in the init script, via openssl rand -base64 32 or some other command. I know the salt value has to be persistent, so you'd have to write a lock file somewhere safe to remember that you've already generated it or something. your call though, it might make it more of a hassle, and lead to data loss if it's not done carefully or people don't understand how to use it. just a thought.

thanks! Otherwise super easy.

Change var/www/wallabag/db permissions

Hello, I've run the image and found it very helpful. Unfortunately, I had to change the permissions of the db/ directory to get the server working. This was prompted by the server's error message An error occured: "db" directory must be writeable for your web server user!

Temporary fix:

sudo docker exec -it (CONTAINER ID HERE) /bin/bash
cd /var/www/wallabag
sudo chown -R www-data:www-data db

I'm not too experienced with Docker, but I'm guessing the Dockerfile needs adjusting. It could also be a wallabag issue.

remove host key generation from dockerfile

hey @bobmaerten,
thanks for the nicely done and well documented container recipe. just noticed the following, and thought I'd ping you about it.

relatively minor thing, but since hosting ones own Web data services is often about privacy, I believe the phusion 00_regenerate_host_keys.sh script should be left to the container boot, so that users who run the image from the docker registry rather than building it themselves have unique keys that wouldn't be susceptible to man-in-the-middle attacks. as is, one could use the key from the publicly available image to intercept communication with the docker container.

502 Bad Gateway

Hi,
I'm having some trouble here to run the docker-wallabag image.
When I connect to localhost:8080 I get 502 Bad Gateway

I'm using b10651d5f0712df2188ee539a776036e25e24b81 on Ubuntu 14.04.

Here is what I can get from the container :

cat /var/log/nginx/error.log
2014/08/30 09:36:31 [crit] 41#0: *1 stat() "/var/www/wallabag/" failed (13: Permission denied), client: 172.17.42.1, server: localhost, request: "GET / HTTP/1.1", host: "localhost:8080"
2014/08/30 09:36:31 [crit] 41#0: *1 stat() "/var/www/wallabag/" failed (13: Permission denied), client: 172.17.42.1, server: localhost, request: "GET / HTTP/1.1", host: "localhost:8080"
2014/08/30 09:36:31 [crit] 41#0: *1 connect() to unix:/var/run/php5-fpm.sock failed (13: Permission denied) while connecting to upstream, client: 172.17.42.1, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "localhost:8080"
2014/08/30 09:36:31 [crit] 41#0: *1 stat() "/var/www/wallabag/favicon.ico" failed (13: Permission denied), client: 172.17.42.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "localhost:8080"
2014/08/30 09:36:31 [crit] 41#0: *1 stat() "/var/www/wallabag/favicon.ico" failed (13: Permission denied), client: 172.17.42.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "localhost:8080"
2014/08/30 09:36:31 [crit] 41#0: *1 connect() to unix:/var/run/php5-fpm.sock failed (13: Permission denied) while connecting to upstream, client: 172.17.42.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "localhost:8080"
2014/08/30 09:36:31 [crit] 41#0: *1 stat() "/var/www/wallabag/favicon.ico" failed (13: Permission denied), client: 172.17.42.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "localhost:8080"
2014/08/30 09:36:31 [crit] 41#0: *1 stat() "/var/www/wallabag/favicon.ico" failed (13: Permission denied), client: 172.17.42.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "localhost:8080"
2014/08/30 09:36:31 [crit] 41#0: *1 connect() to unix:/var/run/php5-fpm.sock failed (13: Permission denied) while connecting to upstream, client: 172.17.42.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "localhost:8080"
ps -edf
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 09:34 ?        00:00:00 /usr/bin/python2 -u /sbin/my_init --enable-insecure-key
root        22     1  0 09:34 ?        00:00:00 /usr/bin/runsvdir -P /etc/service log: ................................................................................................................
root        23    22  0 09:34 ?        00:00:00 runsv nginx
root        24    22  0 09:34 ?        00:00:00 runsv php5-fpm
root        25    22  0 09:34 ?        00:00:00 runsv syslog-ng
root        26    22  0 09:34 ?        00:00:00 runsv cron
root        27    22  0 09:34 ?        00:00:00 runsv sshd
root        28    23  0 09:34 ?        00:00:00 nginx: master process nginx
root        30    27  0 09:34 ?        00:00:00 /usr/sbin/sshd -D
root        31    25  0 09:34 ?        00:00:00 syslog-ng -F -p /var/run/syslog-ng.pid --no-caps --default-modules=affile,afprog,afsocket,afuser,basicfuncs,csvparser,dbparser,syslogformat
root        34    26  0 09:34 ?        00:00:00 /usr/sbin/cron -f
www-data    41    28  0 09:34 ?        00:00:00 nginx: worker process
www-data    42    28  0 09:34 ?        00:00:00 nginx: worker process
www-data    43    28  0 09:34 ?        00:00:00 nginx: worker process
www-data    44    28  0 09:34 ?        00:00:00 nginx: worker process
root        52     1  0 09:34 ?        00:00:00 php-fpm: master process (/etc/php5/fpm/php-fpm.conf)      
www-data    53    52  0 09:34 ?        00:00:00 php-fpm: pool www                                         
www-data    54    52  0 09:34 ?        00:00:00 php-fpm: pool www                                         
www-data    55    52  0 09:34 ?        00:00:00 php-fpm: pool www                                         
www-data    56    52  0 09:34 ?        00:00:00 php-fpm: pool www                                         
root       282    30  0 09:35 ?        00:00:00 sshd: root@pts/0    
root       284   282  0 09:35 pts/0    00:00:00 -bash
root      2672   284  0 09:39 pts/0    00:00:00 ps -edf
ll /var/run
total 52
drwxr-xr-x   6 root     root     4096 Aug 30 09:35 ./
drwxr-xr-x 185 root     root     4096 Aug 30 09:34 ../
-rw-r--r--   1 root     root        3 Aug 30 09:34 crond.pid
----------   1 root     root        0 Aug 30 09:34 crond.reboot
-rw-r--r--   1 root     root        0 Feb 26  2014 init.upgraded
drwxrwxrwt   2 root     root     4096 Jan 29  2014 lock/
-rw-r--r--   1 root     root      111 Feb 26  2014 motd
drwxr-xr-x   2 root     root     4096 Jan 29  2014 network/
-rw-r--r--   1 root     root        3 Aug 30 09:34 nginx.pid
-rw-r--r--   1 root     root        2 Aug 30 09:34 php5-fpm.pid
srw-rw-rw-   1 www-data www-data    0 Aug 30 09:34 php5-fpm.sock=
drwxr-xr-x   3 root     root     4096 Jan 29  2014 resolvconf/
drwxr-xr-x   2 root     root     4096 Feb 26  2014 sshd/
-rw-r--r--   1 root     root        3 Aug 30 09:34 sshd.pid
-rw-r--r--   1 root     root        3 Aug 30 09:34 syslog-ng.pid
-rw-rw-r--   1 root     utmp      384 Aug 30 09:35 utmp

I've seen this "USN-2254-1: PHP vulnerabilities" : http://www.ubuntu.com/usn/usn-2254-1/
And i've tried to change the socket permission to 0660 but without success

Thanks in advance

Getting error on clipping

I get [unable to retrieve full-text content] on any link I clip.

Using Docker version 1.2.0, build fa7b24f on Digital Ocean's Docker host.
and latest Docker image.

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.