fix: port woodpecker env list to env map
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-12-18 14:31:27 +05:30
parent edaff8fd08
commit bd866b7ef6
Signed by: realaravinth
GPG key ID: F8F50389936984FF

View file

@ -4,11 +4,11 @@ steps:
when: when:
event: [push, pull_request, tag, deployment] event: [push, pull_request, tag, deployment]
environment: environment:
- DATABASE_URL=postgres://postgres:password@database:5432/postgres DATABASE_URL: postgres://postgres:password@database:5432/postgres
- VANIKAM_email_URL=smtp://admin:password@email:10025 VANIKAM_email_URL: smtp://admin:password@email:10025
- VANIKAM_meili_API_KEY=5c8eb5f46c148884fb64da09be211a18347fbba24435ca603adc9eba608ba66d VANIKAM_meili_API_KEY: 5c8eb5f46c148884fb64da09be211a18347fbba24435ca603adc9eba608ba66d
- VANIKAM_meili_URL=http://meilisearch:7700 VANIKAM_meili_URL: http://meilisearch:7700
- MAILPIT_URL=http://email:1080 MAILPIT_URL: http://email:1080
commands: commands:
# - curl -fsSL https://deb.nodesource.com/setup_16.x | bash - &&\ # - curl -fsSL https://deb.nodesource.com/setup_16.x | bash - &&\
# - apt update && apt-get -y --no-install-recommends install nodejs tar gpg curl wget # - apt update && apt-get -y --no-install-recommends install nodejs tar gpg curl wget
@ -69,32 +69,21 @@ steps:
# secrets: [RELEASE_BOT_GPG_SIGNING_KEY, DUMBSERVE_PASSWORD, GPG_PASSWORD] # secrets: [RELEASE_BOT_GPG_SIGNING_KEY, DUMBSERVE_PASSWORD, GPG_PASSWORD]
# #
services: services:
# email:
# image: axllent/mailpit
# environment:
# - MP_SMTP_AUTH=admin:password
# - MP_MAX_MESSAGES=5000
# - MP_SMTP_AUTH_ALLOW_INSECURE=1
# - MP_SMTP_BIND_ADDR=0.0.0.0:10025
# - MP_SMTP_AUTH_ALLOW_INSECURE=true
# - MP_UI_BIND_ADDR=0.0.0.0:1080
database: database:
image: postgres image: postgres
environment: environment:
- POSTGRES_PASSWORD=password POSTGRES_PASSWORD: password
meilisearch: meilisearch:
image: getmeili/meilisearch:v1.10 image: getmeili/meilisearch:v1.10
environment: environment:
- MEILI_ENV=development MEILI_ENV: development
- MEILI_MASTER_KEY=5c8eb5f46c148884fb64da09be211a18347fbba24435ca603adc9eba608ba66d MEILI_MASTER_KEY: 5c8eb5f46c148884fb64da09be211a18347fbba24435ca603adc9eba608ba66d
email: email:
image: axllent/mailpit image: axllent/mailpit
environment: environment:
- MP_SMTP_BIND_ADDR=0.0.0.0:10025 MP_SMTP_BIND_ADDR: 0.0.0.0:10025
- MP_UI_BIND_ADDR=0.0.0.0:1080 MP_UI_BIND_ADDR: 0.0.0.0:1080
- MP_SMTP_AUTH_ACCEPT_ANY=true MP_SMTP_AUTH_ACCEPT_ANY: true
- MP_SMTP_AUTH_ALLOW_INSECURE=true MP_SMTP_AUTH_ALLOW_INSECURE: true