Missed a .env one-liner

This commit is contained in:
purple_emily
2024-03-09 14:07:03 +00:00
committed by iPromKnight
parent 28e6c09612
commit c2f94d9f4e

View File

@@ -1,4 +1,3 @@
version: "3.8"
name: knightcrawler name: knightcrawler
x-restart: &restart-policy "unless-stopped" x-restart: &restart-policy "unless-stopped"
@@ -34,8 +33,7 @@ x-apps: &knightcrawler-app
services: services:
postgres: postgres:
image: postgres:latest image: postgres:latest
env_file: env_file: .env
- .env
environment: environment:
PGUSER: postgres # needed for healthcheck. PGUSER: postgres # needed for healthcheck.
# # If you need the database to be accessible from outside, please open the below port. # # If you need the database to be accessible from outside, please open the below port.
@@ -87,8 +85,7 @@ services:
image: gabisonfire/knightcrawler-producer:latest image: gabisonfire/knightcrawler-producer:latest
labels: labels:
logging: "promtail" logging: "promtail"
env_file: env_file: .env
- .env
<<: *knightcrawler-app <<: *knightcrawler-app
networks: networks:
- knightcrawler-network - knightcrawler-network