bloodsangre7

u/bloodsangre7@lemmy.world
22 posts · 115 comments

Recent posts

Recent comments

Yeah it seems like HA OS is the way to go, running the separate Docker containers has been a headache and breaks/take time more than it's worth

on Drink Stash Set-up · c/selfhosted · 1 pts · 3y

For anyone trying to google a solution, I got it to work with the below in Portainer

version: '3.7'

services:

api:
    image: 'gthole/drink-stash:latest'
    init: true
    restart: 'always'
    environment:
      - SECRET_KEY=*enter-a-key-here*
      - ALLOWED_HOSTS=*enter-ip-here*
      - DJANGO_SUPERUSER_USERNAME=*can-be-whatever*
      - DJANGO_SUPERUSER_EMAIL=*duh*
      - DJANGO_SUPERUSER_PASSWORD=*make-it-up*
      - DJANGO_SUPERUSER_FIRST_NAME=*John*
      - DJANGO_SUPERUSER_LAST_NAME=*Smith*
      - INITIAL_FIXTURES=recipes
    ports:
      - 8081:8000
    volumes:
        - /volume1/docker/drink-stash/data:/data
        - /volume1/docker/drink-stash/public:/public
on Drink Stash Set-up · c/selfhosted · 2 pts · 3y

Finally got it to work! Thanks for your help, I took another stab at it after a few weeks of learning other things and it clicked

on Drink Stash Set-up · c/selfhosted · 2 pts · 3y

Hmm, no errors popped up and the container is running. In the Container Manager details it shows the port 8081, so not sure...I'll try to troubleshoot some more, but I really appreciate you taking the time!

on Drink Stash Set-up · c/selfhosted · 2 pts · 3y

Well that did allow the Portainer to compile without error and deploy so I really appreciate the help! When navigating to the http://(my ip):8081 though I get a white page with "Bad Request (400)" on it

on Drink Stash Set-up · c/selfhosted · 1 pts · 3y

Not sure on the terms, but I did change the volume lines to direct to folders I pre-made in /volume1/drink-stash/data (same for public)

on Drink Stash Set-up · c/selfhosted · 2 pts · 3y

Well, I added in the docker-compose snippet in the "Running" section of the link to a new stack in Portainer, changing secret_key and allowed_hosts to localhost, pre-setup the volumes on Synology. The first error I get is "services.api.environment must be a mapping"

I'm glad you were able to recognize the quality of life imprisonment that work from home brought you and the impact it has on you and your family. With more and more ppl back in the office, WFH has shifted from a safety necessity to another 'perk' that companies can offer, like 401k matching or a 4/10 work schedule.

You are doing the right thing by standing your ground, you are indicating to them that they are in danger of losing talent if they do not continue to offer this competitive advantage to their employees, which should be a no-brainer with the work environment you described.

This should not preclude you from raises imo, and you are smart to be preparing your resume and looking for better opportunities. It is always smart to keep your options open. Good luck!

It's absolutely crazy at the moment, lines out the door. Between everyone driving there and the construction on Shepard that intersection is a mess right now, but it should get more reasonable eventually