• 22 Posts
  • 115 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle






  • bloodsangre7OPtoSelfhostedDrink Stash Set-up
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    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
    



  • bloodsangre7OPtoSelfhostedDrink Stash Set-up
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    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!





  • bloodsangre7OPtoSelfhostedDrink Stash Set-up
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    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!