Category Archives: beer

Run Windows apps in a browser with Wine and Docker

ProMash is a program I’ve used to manage beer recipes for over 20 years. There was only ever a Windows version published, but I mostly ran it under Linux with Wine. I had the entire program directory (with recipes, brewing sessions, etc.) checked into checked into Git so I could pull it down on whatever computer I was using at the time and run it.

A while back, I Dockerized my home server. One of the neat tricks I found it could do was run graphical Linux apps through a web browser: Calibre, Picard, etc. I then got the idea to try containerizing ProMash. It can run under Wine and Wine runs under Linux, so it should work…right?

Turns out it works pretty well. Start with this Dockerfile, which adds Wine to the linuxserver.io base image and adds the program to be run:

FROM ghcr.io/linuxserver/baseimage-selkies:arch
RUN pacman -Syu || true && pacman -S --noconfirm wine wine-gecko && yes | pacman -Scc
ADD --chown=911:911 . /config/promash
COPY /root /

For an app that doesn’t need to be installed (just run from a random directory), it’s enough to just make it visible within the container and add a config file to tell the container to launch it. First, docker-compose.yml:

services:
  promash:
    build: .
    container_name: promash
    restart: unless-stopped
    environment:
      CUSTOM_PORT: 8080
      CUSTOM_HTTPS_PORT: 8081
    networks:
      - www
    volumes:
      - promash-data:/config/promash
    labels:
      caddy: promash.alfter.us
      #caddy.basic_auth.salfter: "$PASSWD"
      caddy.import: secure *
      caddy.reverse_proxy: promash.www:8080
      caddy.log.output: discard
          
networks:
  www:
    name: www
    external: true    
    
volumes:
  promash-data:
    name: promash-data
    external: true

This is set up to use caddy-docker-proxy and to control access to ProMash with an Authelia SSO instance (caddy.import: secure *), but these are easily replaced with whatever proxy option you prefer. The ProMash directory within the container gets written out to a named volume so my changes don’t get lost and my recipes are easily backed up.

One more file is needed to tell the container how to launch your program. root/defaults/autostart should look something like this:

(cd /config/promash && wine ProMash.exe)

These three files were added to my ProMash repo, which was then checked out onto my home server and launched. This is what it looks like in the browser:

This should be adaptable to any Windows app that will run under Wine (which is an ever-increasing percentage of them). Programs that need to be installed would be a bit trickier to get running, but it should still be possible to get them running.

Heineken, schmeineken…

ThePabstBlueReuben-225x300This is what you get when you dip a reuben sandwich in PBR beer batter and fry it up:

The Pabst Blue Reuben

I was super drunk out in Vegas at the time and responded by saying something along the lines of “What if I took an entire Reuben sandwich, dipped it in Pabst beer batter and deep fried it? It could be called the Pabst Blue Reuben!”

They were into it an apparently the people over at Pabst were as well so they have me the go ahead and here it is — The Pabst Blue Reuben!

just based on the name alone, the Pabst Blue Reuben is pretty awesome, but taste-wise it was even better! I’ve yet to find a single food that beer batter and a quick dip in some 375° oil can’t improve upon.

Awesomeness

Found this on the book of faces…an 81-year-old not only finished a beer mile with a not-too-bad time, but she beat her daughter and son-in-law while she was at it:

This 81-Year-Old Grandma Is Better at Drinking and Running Than You Are

If you’ve ever subjected your body to a beer mile race — easily one of the world’s ultimate tests of physical and emotional endurance — you might want to contact Elvira Montes for some pointers. The 81-year-old grandmother of three was, not only the oldest person to finish during the 2015 FloTrack Beer Mile World Championships in Austin, Texas on Tuesday night, but also outran her daughter and son-in-law, according to a report byRunner’s World. Needless to say, she’s a freaking hero.

[…]

While the beer mile world champions crossed the finish line in a cloud of sweat and suds faster than you can pour a beer and drink it, Montes finished the race with a damn impressive time of just 20 minutes and 24 seconds — 50 seconds faster than her 47-year-old daughter. She admittedly doesn’t even like beer, but pounded four bottles of KCCO Gold Lager from Resignation Brewery, according to the report.

The race marked Montes’ second beer run, having participated in the same event last year. Next year, she plans to break 20 minutes and said she can improve by drinking her beer faster.

 

SJWs’ Latest Windmill: Craft Beers With Suggestive Names

double_ipa_logo.286x0The author of the Federalist piece knocks Double D Double IPA.  I’ve had it, and wouldn’t have any qualms about it being in my fridge:

Social Attention Whores Have New Made-Up Concern to Complain About: Craft Beers With Sexually-Suggestive Names

Hey Slate, Bullying Microbreweries Won’t End Misogyny

The writers at Slate should get off their high horses and just drink a beer already.

In a recent article, William Gordon wails about the “gross puns and derogatory labels” on craft beers. And maybe he’s right—some microbrews probably should clean up their act.

But maybe Slate should also apply the Left’s traditional logic: if you don’t like a misogynistic beer, don’t have one. After all, the only person worse than the dude who brings “Raging Bitch IPA” to the party is the culture warrior who whines about it.

Hops…phytoestrogenic?  Say it ain’t so!

Your favorite beer might be giving you man boobs

It might seem manly to drink beer, but a chemical found in hops might be the cause of some very feminine attributes.

Hops, which gives beer its flavor, are female flowers of the hop plant and contain high levels of phytoestrogen—a plant estrogen.

According to research conducted by acclaimed herbalist and author Stephen Harrod Buhner, hops can also contribute to breast development in men and to a condition called “brewer’s droop”—or impotence brought on by heavy drinking.

[youtube https://www.youtube.com/watch?v=EKpiTL8fPM8]

News you can use

Free beer for all the hashers…for your health and longevity:555ca2a02e755.image

A beer a day is 110-year-old Nebraska man’s secret to a long life

A can of beer every day is Mark Behrends’ secret to a long life.

The Nebraska City man turned 110 years old on May 16, making him Nebraska’s oldest living person and possibly the oldest man living in the United States.

“He always told everybody the reason he has lived so long is drinking one can of beer, every day at 3 p.m.,” said his daughter Lois Bassinger of Nebraska City. “He always joked that that was his medicine since he takes very little medicine.”

Pix from the 2015 Boulder City Beerfest

« of 7 »

Omagh’s ‘Shawshank Husband’ Dug Tunnel From Bedroom To Pub Over 15 Years

Part The Shawshank Redemption, part The Great Escape:

Omagh’s ‘Shawshank Husband’ Dug Tunnel From Bedroom To Pub Over 15 Years

“The wife has a bad snore on her and after watching the Shawshank Redemption on RTE one night in 1994, I decided to do something about it so I waited til she was in a deep sleep and then set about digging a hole under the bed in the direction of the pub. I used all manner of tools from spoons to a heavy duty tunnel boring machine I managed to sneak down there when she was at the shops. It wasn’t until 2009 that I hit the jackpot and came up through the women’s toilet mop and bucket room.”

Total distance: about 800′.