mwalbeck / docker-flox Goto Github PK
View Code? Open in Web Editor NEWDocker image for Flox
License: MIT License
Docker image for Flox
License: MIT License
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:
- /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.Please tell me if there's anything I've misunderstood.
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; }
}
}
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.