Comment on Drink Stash Set-up

bloodsangre7@lemmy.world ⁨10⁩ ⁨months⁩ 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

source
Sort:hotnewtop