feat: deploy meilisearch in dev env and in CI
This commit is contained in:
parent
327e033aeb
commit
c569487ee3
2 changed files with 18 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue