docker compose fixes
All checks were successful
ci / docker_image (push) Successful in 1m31s
ci / deploy (push) Successful in 16s

This commit is contained in:
Drake Marino 2025-01-04 19:44:44 -06:00
parent 27636988e6
commit f9493bcd40

View File

@ -4,16 +4,11 @@ services:
postgres: postgres:
image: postgres:17 image: postgres:17
restart: unless-stopped restart: unless-stopped
environment: env_file: ".env"
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
volumes: volumes:
- ./postgresql/data:/var/lib/postgresql/data - ./postgresql/data:/var/lib/postgresql/data
networks: networks:
- fbla25 - fbla25
secrets:
- postgres_password
entrypoint: [ '/bin/sh', '-c', 'export POSTGRES_PASSWORD=$$(cat /var/run/secrets/postgres_password) ; source /entrypoint.sh' ]
FBLA25: FBLA25:
image: git.marinodev.com/marinodev/fbla25_ci:latest image: git.marinodev.com/marinodev/fbla25_ci:latest
restart: on-failure restart: on-failure
@ -22,10 +17,6 @@ services:
networks: networks:
- fbla25 - fbla25
secrets:
postgres_password:
file: ./postgres/postgres_password.txt
networks: networks:
fbla25: fbla25:
external: true external: true