Sign inSign up

simonlclrs/winecave

By simonlclrs

Updated about 10 hours ago

Full image for the WineCave software. Available in amd64/arm64 to easily run on Raspberry Pi

Image
Developer tools
0

1.8K

simonlclrs/winecave repository overview

WineCave

This application allows you to easily create and manage your caves.
You can create multiple caves, casings and bottles, and find what you need quickly.
Share your caves with family members to allow them to find bottles.

Usage

Run the app easily with this example compose file :

services:
  winecave-db:
    image: postgres:16-alpine
    container_name: winecave-database
    restart: always
    environment:
      POSTGRES_PASSWORD: winecave
      POSTGRES_USER: winecave
      POSTGRES_DB: winecave
      PGDATA: "/pgdata"
    volumes:
      - ./pgdata:/pgdata
    healthcheck:
      test: pg_isready -U winecave -d winecave || exit 1
      interval: 10s
      timeout: 10s
      retries: 2
      start_period: 30s

  winecave-server:
    image: simonlclrs/winecave:latest
    container_name: winecave-server
    restart: always
    depends_on:
      winecave-db:
        condition: service_healthy
        restart: true
    ports:
      - 4123:4123
    environment:
      - DATABASE_URL=postgres://winecave:winecave@winecave-db:5432/winecave
    volumes:
      - ./app_keys:/usr/src/app/keys

If you want to use a hosted postgres database instead, use this compose file :

services:
  winecave-server:
    image: simonlclrs/winecave:latest
    container_name: winecave-server
    pull_policy: always
    restart: unless-stopped
    ports:
      - 4123:4123
    environment:
      DATABASE_URL: postgres://winecave:[email protected]:5432/winecave
    extra_hosts:
      - "host.docker.internal:host-gateway"
    volumes:
      - ./app_keys:/usr/src/app/keys

Users management

As it's impossible to create users in the application, you have to add them by hand with a script.
You can also replace a forgotten password this way.
Simply run :

docker exec -it winecave-server bun user:create

Or

docker exec -it winecave-server bun user:edit

Edit the name of the container if you edited the docker-compose file of course.

Errors and questions

Find the repository here : https://git.barycentre.dev/winecave/winecave

Tag summary

Content type

Image

Digest

sha256:47286b8be

Size

52.6 MB

Last updated

about 10 hours ago

docker pull simonlclrs/winecave