docker compose fixes
This commit is contained in:
parent
27636988e6
commit
f9493bcd40
@ -4,16 +4,11 @@ services:
|
||||
postgres:
|
||||
image: postgres:17
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_DB: ${POSTGRES_DB}
|
||||
POSTGRES_USER: ${POSTGRES_USER}
|
||||
env_file: ".env"
|
||||
volumes:
|
||||
- ./postgresql/data:/var/lib/postgresql/data
|
||||
networks:
|
||||
- fbla25
|
||||
secrets:
|
||||
- postgres_password
|
||||
entrypoint: [ '/bin/sh', '-c', 'export POSTGRES_PASSWORD=$$(cat /var/run/secrets/postgres_password) ; source /entrypoint.sh' ]
|
||||
FBLA25:
|
||||
image: git.marinodev.com/marinodev/fbla25_ci:latest
|
||||
restart: on-failure
|
||||
@ -22,10 +17,6 @@ services:
|
||||
networks:
|
||||
- fbla25
|
||||
|
||||
secrets:
|
||||
postgres_password:
|
||||
file: ./postgres/postgres_password.txt
|
||||
|
||||
networks:
|
||||
fbla25:
|
||||
external: true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user