# Your Meilisearch master key # Find out more here: https://docs.meilisearch.com/learn/getting_started/quick_start.html#securing-meilisearch MEILI_MASTER_KEY=masterKey-make-it-long-for-security
# Base URL of the application # You should update this value to the URL you plan to use (ex: http://192.168.100.100, https://my-personal-bar.com) # The value MUST be without trailing slash BASE_URL=http://192.168.0.197:3652
# Meilisearch server instance URL, change if you are using different host from base url, otherwise leave as default MEILISEARCH_URL=${BASE_URL}/search
# Bar Assistant server instance URL, change if you are using different host from base url, otherwise leave as default API_URL=${BASE_URL}/bar
services: meilisearch: image:getmeili/meilisearch:v1.8# Never use latest tag container_name:barassistant-meilisearch environment: -MEILI_MASTER_KEY=$MEILI_MASTER_KEY -MEILI_ENV=production restart:unless-stopped volumes: -./mdata:/meili_data
# Optional, but recommended redis: image:redis container_name:barassistant-redis environment: -ALLOW_EMPTY_PASSWORD=yes restart:unless-stopped
bar-assistant: image:barassistant/server:v4 container_name:barassistant-app depends_on: -meilisearch -redis# Remove if not using redis environment: -APP_URL=$API_URL -MEILISEARCH_KEY=$MEILI_MASTER_KEY -MEILISEARCH_HOST=http://meilisearch:7700# This needs to be host that can be resolved from inside the container. -REDIS_HOST=redis# Remove if not using redis -CACHE_DRIVER=redis# Change to "file" if not using redis -SESSION_DRIVER=redis# Change to "file" if not using redis -ALLOW_REGISTRATION=true restart:unless-stopped volumes: -./bdata:/var/www/cocktails/storage/bar-assistant
# Reverse proxy all web services # You can remove this service if you already have a reverse proxy somewhere in your stack, # but you will need to manually setup the configuration # Check included nginx.conf for reference webserver: image:nginx:alpine container_name:barassistant-web restart:unless-stopped depends_on: -bar-assistant -salt-rim -meilisearch ports: -3652:3000 volumes: -./nginx.conf:/etc/nginx/conf.d/default.conf
karlomikus/bar-assistant: Bar assistant is a self hosted application for managing your home bar. 地址:https://github.com/karlomikus/bar-assistant
karlomikus/vue-salt-rim: Salt Rim is a Vue based web client used for connecting to Bar Assistant server instance. 地址:https://github.com/karlomikus/vue-salt-rim
All-in-one solution for managing your home bar · Bar Assistant 地址:https://barassistant.app/