Developer from Taiwan 🇹🇼
Site Reliablity Engineer, DevOps Engineer, Cloud Engineer, Technical Support Engineer
Dockerize YOURLS service (Shorten URL Service)
Home Page: https://hub.docker.com/r/guessi/docker-yourls/
docker-yourls/dockerfiles/Dockerfile
Line 14 in b9db42f
I'm wondering if your main Dockerfile should be pointing to 1.9.1 and not 1.9
Upstream YOURLS 1.9.1 have included PHP 8.1 already, but the repo here is now build with PHP 8.0.
However, the current container images' tag could not tell which PHP version it used.
It's been a long time having no automation build but all image built manually after Docker Hub stop offering build for Free accounts, need to find a way to get image build weekly or monthly to ensure we could get security fixes such as Debian, PHP, Apache, etc.
Is there an ability to use this with multiple users? I'd like to have 3-4 usernames and passwords for this.
Hi,
Not a real issue (depends on how you see these things), but could you update the image to 1.9...?
My installation starts popping an upgrade reminder.
Thanks!!!
I am using the guessi/docker-yourls
Docker image to deploy a YOURLS server and I'm looking to set up HTTPS for the server. I am currently unclear on how to adjust the Docker Compose configuration to support HTTPS.
Could you provide guidance on what changes need to be made to the Docker Compose file to enable HTTPS? Specifically, I'm looking for advice on how to integrate SSL certificates with the existing Docker setup and any required changes to the Nginx or web server configurations that might be included in the Docker image.
Thanks for providing the yml.
Get this result by doing docker composer. I made all changes to env.mysql and env.yourls
YOURLS: Your Own URL Shortener
YOURLS
Fatal error
Incorrect DB config, or could not connect to DB
PDOException: SQLSTATE[HY000] [1045] Access denied for user 'yourls'@'172.31.0.3' (using password: YES)
Powered by YOURLS v 1.8.2
Back in 2017, I was a user of YOURLS (Great thanks to upstream maintainers). I found it's hard to build YOURLS into container image so I publish my customized YOURLS image build and scripts on May 7, 2017. Around half year later, upstream YOURLS maintainers published an official repo called "YOURLS/docker" to build container images for YOURLS project on Nov 11, 2017. So it became two different image repositories.
As two images build process approaches are very different, should we adopt change for these changes? or maybe I should encourage people to use Official Image builds? - https://github.com/YOURLS/docker
Hi! I have a question about getting started. (New to docker / YOURLS)
When I run docker-compose up
I get the error that port 80 is in use.
If I switch any references of port 80 -> 81, the error goes away, but i'm unable to navigate to http://localhost/admin/index.php
or see anything on localhost
or localhost:80
Is there anything else I should try? Also if I want to see the YOURLS source code that is being pulled in how would I do that?
Appreciate the help, and Thanks!
Hi,
How can i add custom themes and Plugins?
Is this in conf/opt/yourls/
Currently i have only an white Page. The Admin Backend works.
No matter what username and password I enter, it doesn't work...
I have an old install running under nginx/php-fpm, and I'm trying to deploy this docker container to connect to that other DB... the debug into shows that I'm connected, but after entering the admin username and password, I just get kicked back to the login screen again and told it's an invalid username or password...
Any ideas what to try next??
Error message:
| Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array, null given in /opt/yourls/user/plugins/dont-log-crawlers/plugin.php:295
| Stack trace:
| #0 /opt/yourls/user/plugins/dont-log-crawlers/plugin.php(295): array_merge(NULL, Array)
| #1 /opt/yourls/user/plugins/dont-log-crawlers/plugin.php(268): dlb_get_cidrs()
| #2 /opt/yourls/user/plugins/dont-log-crawlers/plugin.php(326): dlb_is_blacklisted()
| #3 /opt/yourls/includes/functions-plugins.php(229): dlb_skip_if_crawler(false, 'yourlsblog', false)
| #4 /opt/yourls/includes/functions.php(88): yourls_apply_filter('shunt_update_cl...', false, 'yourlsblog', false)
| #5 /opt/yourls/includes/functions.php(268): yourls_update_clicks('yourlsblog')
| #6 /opt/yourls/yourls-go.php(21): yourls_redirect_shorturl('https://blog.yo...', 'yourlsblog')
| #7 /opt/yourls/yourls-loader.php(51): require_once('/opt/yourls/you...')
| #8 {main}
| thrown in /opt/yourls/user/plugins/dont-log-crawlers/plugin.php on line 295
Ref:
Hello!
How can I use multiple users? I tried several things, but it didn't work.
Best Regards
Hello!
Made a backup as described in the README, when trying to restore I get an error:
mysql_1 | 2021-12-08 08:46:36+00:00 [Note] [Entrypoint]: /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/mysql-dump-2021-12-08-081258.sql
mysql_1 | ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysqldump: [Warning] Using a password on the command line interface can be insec' at line 1
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.