• 2 Posts
  • 7 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle




  • 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