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
x-restart: &restart-policy "unless-stopped"
@@ -34,8 +33,7 @@ x-apps: &knightcrawler-app
services:
postgres:
image: postgres:latest
env_file:
- .env
env_file: .env
environment:
PGUSER: postgres # needed for healthcheck.
# # 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
labels:
logging: "promtail"
env_file:
- .env
env_file: .env
<<: *knightcrawler-app
networks:
- knightcrawler-network