You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
721 B
YAML

services:
meilisearch:
image: "getmeili/meilisearch:v1.10.1"
ports:
- "7700:7700"
environment:
MEILI_MASTER_KEY: fluffybunnyrabbit
MEILI_NO_ANALYTICS: true
# volumes:
# - "meili_data:/meili_data"
database:
image: mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: lrnigwurbuwfbiowfnwrf
MYSQL_USER: inventory
MYSQL_PASSWORD: nfrwnfprifbwef
MYSQL_DATABASE: inventory
ports:
- "3306:3306"
volumes:
- '/root/db:/var/lib/mysql'
inventory:
build: .
init: true
ports:
- "8000:8000"
environment:
- PYTHONUNBUFFERED=1
depends_on:
- meilisearch
- database
volumes:
meili_data: