Advertisement
zdenny

compose

May 22nd, 2023
980
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.55 KB | None | 0 0
  1. version: "3"
  2.  
  3. services:
  4.   meilisearch:
  5.     image: getmeili/meilisearch:v1.1
  6.     environment:
  7.      - MEILI_MASTER_KEY=$MEILI_MASTER_KEY
  8.       - MEILI_ENV=production
  9.     restart: unless-stopped
  10.     volumes:
  11.      - meilisearch_data:/meili_data
  12.  
  13.   redis2:
  14.     image: redis
  15.     environment:
  16.      - ALLOW_EMPTY_PASSWORD=yes
  17.     restart: unless-stopped
  18.  
  19.   bar-assistant:
  20.     image: barassistant/server:latest
  21.     depends_on:
  22.      - meilisearch
  23.       - redis2
  24.     environment:
  25.      - APP_URL=$API_URL
  26.       - LOG_CHANNEL=stderr
  27.       - MEILISEARCH_KEY=$MEILI_MASTER_KEY
  28.       - MEILISEARCH_HOST=http://meilisearch:7700
  29.       - REDIS_HOST=redis2
  30.       - ALLOW_REGISTRATION=false
  31.       - PARENT_INGREDIENT_SUBSTITUTE=true
  32.     restart: unless-stopped
  33.     volumes:
  34.      - bar_data:/var/www/cocktails/storage/bar-assistant
  35.  
  36.   salt-rim:
  37.     image: barassistant/salt-rim:latest
  38.     depends_on:
  39.      - bar-assistant
  40.     environment:
  41.      - API_URL=$API_URL
  42.       - MEILISEARCH_URL=$MEILISEARCH_URL
  43.       - BAR_NAME=Curfew
  44.       - DESCRIPTION=6PM Bartender
  45.     restart: unless-stopped
  46.  
  47.   webserver:
  48.     image: nginx:alpine
  49.     restart: unless-stopped
  50.     ports:
  51.      - 3001:3000
  52.     volumes:
  53.      - /mnt/user/appdata/ba-storage/nginx.conf:/etc/nginx/conf.d/default.conf
  54. volumes:
  55.   meilisearch_data:
  56.     driver: local
  57.     driver_opts:
  58.       type: none
  59.       o: bind
  60.       device: /mnt/user/appdata/meilisearch
  61.   bar_data:
  62.     driver: local
  63.     driver_opts:
  64.       type: none
  65.       o: bind
  66.       device: /mnt/user/appdata/ba-storage
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement