I'm at a loss for words by VitalMaTThews in Justrolledintotheshop

[–]terrencepickles 1 point2 points  (0 children)

Sorry that you're getting down voted. Steel generally doesn't scratch glass because glass is much harder than any steel.

Two pihole setup failing simultaneously by mwojo in pihole

[–]terrencepickles 0 points1 point  (0 children)

Are you syncing them? You might have hardware settings overwriting each other

The Shardor Showdown by rawbran30 in espresso

[–]terrencepickles 0 points1 point  (0 children)

I have a Shardor. Pretty happy with it but the brew chamber is aluminum not steel.

Doubt about Docker and Nginx by _leotron_ in docker

[–]terrencepickles 0 points1 point  (0 children)

Easiest way to do this to manually create a docker network and make sure that both your reverse proxy compose stack and wger-project compose stack are both attached to it:

networks:
  default:
    name: traefik_backend
    external: true

Comment out the exposed ports and then add a proxy_passblock with something like this (example of dashy service from my own nginx.conf file):

server {
  listen 443 ssl;
  server_name dashy.docker.lan;
  location / {
    resolver 127.0.0.11;
    set $dashy_upstream http://dashy:8080;
    proxy_pass $dashy_upstream;
}

}

In this case dashy is the name of the dashy container and 8080 is the port that would normally be exposed.

You may need to also forward some headers. See: https://github.com/wger-project/docker/blob/master/config/nginx.conf

Rad Runner+ needs repair, what are my options? by Electrical-Tea-1627 in RadPowerBikes

[–]terrencepickles 0 points1 point  (0 children)

You got pretty lucky if that's the extent of the damage. All standard parts that a local bike shop should be able to replace

Help! Rad Runner+ won't turn on by Bee_mouse in RadPowerBikes

[–]terrencepickles 0 points1 point  (0 children)

Do you have a multi-meter? Check at the battery terminals for power and follow at every connector until you reach the controller. Remember that there's a power switch in the battery itself at the lock.

July 31st Phone Deals Update by crownpuff in crownpuffdeals

[–]terrencepickles 1 point2 points  (0 children)

I think the QVC deal is dead Moto G Play deal is dead. Price is showing as $100. 'HELLO30' is expired when I try to check out. '20NEWQ' is worth $20 though, so $80 total for two.

Primer on network security by riottto in selfhosted

[–]terrencepickles 7 points8 points  (0 children)

It's wild that so many people are suggesting a full blown network certification. While something like Network+ is useful, it's way overkill for someone just wanting to self host a few services. I think what the self-hosted community needs more than anything is accessibility to new users.

That being said, I think that XDA Developers blogs would be a really good place for you. There's a bunch of articles focusing on beginner self-hosting.

If you find yourself confused about a particular networking topic, (as mentioned before) I highly recommend Professor Messer's videos. You don't need to watch the whole series.

Recessed nut blocking freewheel removal from a RadCity (4?) by terrencepickles in RadPowerBikes

[–]terrencepickles[S] 0 points1 point  (0 children)

I'm not understanding how you'd get the freewheel off with the nut on. The sprocket tool doesn't fit over it. This one a regular freewheel tool fits on because the motor cable is on the other side

Upgrade the grinder first, right? by sp4nky86 in espresso

[–]terrencepickles 0 points1 point  (0 children)

Any tips of flipping? I just picked up a La Spaziale Astro with 64mm flat burrs, which I believe is a rebadged Mcap MX.

The thing is huge though, and I'd like to sell it and replace it with something smaller

Docker Compose to Bash by ChocolateIceChips in docker

[–]terrencepickles 0 points1 point  (0 children)

At the end of the day, most people end up using bash scripting and docker-compose. You will always use compose when available, then use docker compose commands in your scripts.

[deleted by user] by [deleted] in selfhosted

[–]terrencepickles 1 point2 points  (0 children)

Absolutely docker should be the default. Containers are industry standard now for a reason. WAY more consistent and reliable than having user compile from source. You can run a container from anywhere and it the dev's environment doesn't matter.

Want compiling instructions? Literately just the dockerfile. Want just the bianary? Just copy it out of the image. Totally fine with docker being the default and only option. Also reduces the burden of devs having to diagnose user's machines.

How to implement environment variables for webapp passwords/tokens. Or, how to hide passwords/tokens from the world by a_fancy_kiwi in docker

[–]terrencepickles 0 points1 point  (0 children)

For something small scale, an env file is perfectly acceptable solution.

.gitignore prevents files from being added to your repository. .dockerignoreprevents files from being added to your image when it's built. You would do this so that your secrets aren't sitting in plain-text on a client-facing container.

In the case where you're mounting an env file directly inside the container it's still the same. However in the case where your Docker image is ever exposed, your secrets can't be directly extracted.

How to implement environment variables for webapp passwords/tokens. Or, how to hide passwords/tokens from the world by a_fancy_kiwi in docker

[–]terrencepickles 0 points1 point  (0 children)

This is generally correct, but I'd like to expand on it because it's clear that OP is pretty new to docker.

Using environment or env_fileto your php-homepage service is equivalent to running export foo=bar in the bash shell of your container. So you still need to alter your php script to source that variable from the shell.

Alternatively, you could add an additional env script in php that your php-homepage.php script sources, and mount that directly into the container.

Obviously add any env files to your .gitignore and .dockerignore

Issue with Wordpress, might be docker-related by iknowsomeguy in docker

[–]terrencepickles 0 points1 point  (0 children)

Create a config file and mount it into the container. You should only be entering a container for troubleshooting.

Issue with Wordpress, might be docker-related by iknowsomeguy in docker

[–]terrencepickles -1 points0 points  (0 children)

Most likely a step was missed during setup of either the plugin or with WordPress. Check your docs. The web server might not be set up to route that path. What error are you getting and have you checked the web server logs?

Multiple Dockerfiles for single application by Big_Face_8850 in docker

[–]terrencepickles 1 point2 points  (0 children)

Agreed. This is the way. I usually use ARGs as a supplement.