32 lines
705 B
YAML
32 lines
705 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres:17
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_DB: ${POSTGRES_DB}
|
|
POSTGRES_USER: ${POSTGRES_USER}
|
|
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
|
|
ports:
|
|
- "8002:8080"
|
|
networks:
|
|
- fbla25
|
|
|
|
secrets:
|
|
postgres_password:
|
|
file: ./postgres/postgres_password.txt
|
|
|
|
networks:
|
|
fbla25:
|
|
external: true
|