This repository has been archived on 2025-02-02. You can view files and clone it, but cannot push or open issues or pull requests.
ems-frontend/compose.yml
Jan-Marlon Leibl 0be39d98ec format code and improve readability across files (#47)
Reviewed-on: http://git.simonis.lol/angular/ems-frontend/pulls/47
Co-authored-by: Jan-Marlon Leibl <jleibl@proton.me>
Co-committed-by: Jan-Marlon Leibl <jleibl@proton.me>
2025-01-23 11:24:38 +00:00

29 lines
704 B
YAML

volumes:
employee_postgres_data:
driver: local
services:
postgres-employee:
container_name: ems-db
image: postgres:13.3
volumes:
- employee_postgres_data:/var/lib/postgresql/data
environment:
POSTGRES_DB: employee_db
POSTGRES_USER: employee
POSTGRES_PASSWORD: secret
ports:
- "5432:5432"
employee:
container_name: ems-api
image: berndheidemann/employee-management-service:1.1.3
environment:
spring.datasource.url: jdbc:postgresql://postgres-employee:5432/employee_db
spring.datasource.username: employee
spring.datasource.password: secret
ports:
- "8089:8089"
depends_on:
- postgres-employee