docker compose fixes
This commit is contained in:
parent
27636988e6
commit
f9493bcd40
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user