Giter VIP home page Giter VIP logo

docker-flox's People

Contributors

mwalbeck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

calgara12

docker-flox's Issues

README clarification

In an attempt to make this docker image more approachable, you can make small tweaks to the README file. Some things I noticed during my installations attempts:

  • The line - /path/to/nginx:/etc/nginx:ro in the Docker Compose example can be slightly confusing. According to the official documentation, you should map a configuration file from the host to the Docker container like this: /host/path/nginx.conf:/etc/nginx/nginx.conf:ro. However, the example suggests mapping a folder instead, which is something you shouldn't do. To avoid confusion, you can update this line in the example to match the official documentation's approach, making it clear that we are looking for a configuration file.
  • For those who are not familiar with Nginx, there's a chance they might not realize that the server attribute in the example configuration file should be placed within the http section of an Nginx configuration file, something I discovered the hard way. To provide clarity, you can add a note in the documentation to highlight that the server attribute belongs within the http section of the Nginx configuration file.

Please tell me if there's anything I've misunderstood.

No Styling / CSS loaded

Hello, first of all thank you for providing the image.

I can start both containers (Flox/Web) without any warnings or errors, but the CSS is not loaded or applied when calling the website.
If I go to the "unstyled" website by right-clicking on "Show source code", the CSS file is stored in the header under "" and is also accessible.

Do you have a suggestion where I should look for the error?

Flox-Container ENV:

FLOX_ADMIN_USER=mjeni
FLOX_ADMIN_PASS=XXX
FLOX_APP_URL=http://localhost
TMDB_API_KEY=XXX
FLOX_DB_INIT=true
FLOX_DB_NAME=flox
FLOX_DB_USER=flox
FLOX_DB_PASS=XXX
FLOX_DB_HOST=192.168.1.82
FLOX_DB_PORT=3306
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PHPIZE_DEPS=autoconf dpkg-dev file g++ gcc libc-dev make pkg-config re2c
PHP_INI_DIR=/usr/local/etc/php
PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
PHP_LDFLAGS=-Wl,-O1 -pie
GPG_KEYS=XXX7FE4D0441C8E4632349E4FDC074A4EF02D 5A52880781F755608BF815FC910DEB46F53EA312
PHP_VERSION=7.4.33
PHP_URL=https://www.php.net/distributions/php-7.4.33.tar.xz
PHP_ASC_URL=https://www.php.net/distributions/php-7.4.33.tar.xz.asc
PHP_SHA256=XXXX6abf93bc613815c55dd3f5809377813ac62a9ec4eb3778675b82a27b927
FLOX_DB_CONNECTION=mysql
FLOX_APP_DEBUG=true

Nginx Container ENV:

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
NGINX_VERSION=1.25.0
NJS_VERSION=0.7.12
PKG_RELEASE=1~bullseye

nginx.conf

events {}
http{
server {
listen [::]:80;
listen 80;
server_name localhost;

root /var/www/flox/public;

index index.php;

charset utf-8;

location ~ /\. {
    access_log off;
    log_not_found off;
    deny all;
}

location / {
    try_files $uri $uri/ /index.php?$query_string;
}

location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt  { access_log off; log_not_found off; }

error_page 404 /index.php;

location = /index.php {
    fastcgi_pass 192.168.1.84:9000;
    fastcgi_split_path_info ^(.+\.php)(/.+)$;
    try_files $fastcgi_script_name =404;
    fastcgi_index index.php;
    include fastcgi_params;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}

location ~ \.php$ { return 403; }

}
}

grafik

Failed to open dir

I get these errors when running and the container stops. I've never successfully started the container. Any thoughts?

Class ParsedownExtraTest located in ./vendor/erusev/parsedown-extra/test/ParsedownExtraTest.php does not comply with psr-0 autoloading standard. Skipping.
25 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
In UniformResourceIterator.php line 109:
                                                  
  Failed to open dir: plugins:// does not exist.  

p.s. I am not a programer, just someone getting started with self hosting.

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.