fix: env file not loaded
continuous-integration/drone/push Build is passing Details

pull/24/head
Davide Polonio 2023-07-07 12:54:20 +02:00
parent 90f06e0801
commit 541ebcdd32
1 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,8 @@ services:
condition: service_healthy condition: service_healthy
environment: environment:
- RUN_MIGRATIONS=1 - RUN_MIGRATIONS=1
env_file:
- .env
networks: networks:
- internal - internal
- proxy - proxy
@ -25,6 +27,8 @@ services:
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- db:/var/lib/postgresql/data - db:/var/lib/postgresql/data
env_file:
- .env
healthcheck: healthcheck:
test: ["CMD", "pg_isready", "-U", "miniflux"] test: ["CMD", "pg_isready", "-U", "miniflux"]
interval: 10s interval: 10s