use inline env var
Some checks are pending
fp/our CI/CD / build (push) Waiting to run
ci / test (push) Waiting to run

This commit is contained in:
CJ_Clippy 2025-10-06 05:15:37 -08:00
parent aaec2aae08
commit e781d0a118
3 changed files with 6 additions and 6 deletions

View File

@ -50,6 +50,12 @@
name: our-postgres
compose:
- /etc/futureporn/our/compose.db.yaml
- services:
postgres:
environment:
POSTGRES_USER: "{{ lookup('dotenv', 'POSTGRES_USER', file='../../../../.env.production') }}"
POSTGRES_PASSWORD: "{{ lookup('dotenv', 'POSTGRES_PASSWORD', file='../../../../.env.production') }}"
POSTGRES_DB: "{{ lookup('dotenv', 'POSTGRES_DB', file='../../../../.env.production') }}"
- name: Deploy stack to green
community.docker.docker_stack:

View File

@ -1,7 +1,6 @@
services:
# pgadmin:
# image: dpage/pgadmin4:latest
# env_file: ./.env
# ports:
# - target: 5050
# published: 8095
@ -10,7 +9,6 @@ services:
postgres:
image: postgres:17
env_file: ./.env
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:

View File

@ -1,8 +1,6 @@
services:
server:
image: gitea.futureporn.net/futureporn/our:latest
depends_on:
- postgres
init: true
command: >
sh -c "npx prisma migrate deploy && npm run start:server"
@ -12,8 +10,6 @@ services:
worker:
image: gitea.futureporn.net/futureporn/our:latest
depends_on:
- postgres
init: true
entrypoint: >
sh -c "npm run start:worker"