feat: deploy meilisearch in dev env and in CI
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful

This commit is contained in:
Aravinth Manivannan 2024-07-17 20:21:41 +05:30
parent 327e033aeb
commit c569487ee3
Signed by: realaravinth
GPG key ID: F8F50389936984FF
2 changed files with 18 additions and 1 deletions

View file

@ -7,6 +7,8 @@ steps:
- DATABASE_URL=postgres://postgres:password@database:5432/postgres
- VANIKAM_email_URL=smtp://admin:password@email:10025
- MAILDEV_URL=http://email:1080
- VANIKAM_meili_API_KEY=5c8eb5f46c148884fb64da09be211a18347fbba24435ca603adc9eba608ba66d
- VANIKAM_meili_url=http://meiliserach:7700
commands:
# - curl -fsSL https://deb.nodesource.com/setup_16.x | bash - &&\
# - apt update && apt-get -y --no-install-recommends install nodejs tar gpg curl wget
@ -29,7 +31,8 @@ steps:
settings:
dry_run: true
repo: libresolutions/vanikam
tags: latest
tags:
latest
# build_and_publish_docker_img:
# image: plugins/docker
@ -77,3 +80,9 @@ services:
- MAILDEV_SMTP_PORT=10025
- MAILDEV_INCOMING_USER=admin
- MAILDEV_INCOMING_PASS=password
meiliserach:
image: getmeili/meilisearch:v1.9
environment:
- MEILI_ENV=development
- MEILI_MASTER_KEY=5c8eb5f46c148884fb64da09be211a18347fbba24435ca603adc9eba608ba66d

View file

@ -16,3 +16,11 @@ services:
network_mode: host
environment:
POSTGRES_PASSWORD: password
meiliserach:
image: getmeili/meilisearch:v1.9
ports:
- 7700:7700
environment:
- MEILI_ENV=development
- MEILI_MASTER_KEY=5c8eb5f46c148884fb64da09be211a18347fbba24435ca603adc9eba608ba66d