Files
spring-rest-api/docker-compose.yml
Catalin Patrut 4a3a9923ef working example
2021-08-08 12:36:07 +02:00

19 lines
412 B
YAML

version: '3'
services:
api-db:
image: postgres:alpine3.14
container_name: blog-db
ports:
- "5432:5432"
environment:
- POSTGRES_PASSWORD=postgres
- POSTGRES_USER=postgres
pg-admin:
container_name: hello
image: dpage/pgadmin4:5.5
environment:
- PGADMIN_DEFAULT_EMAIL=postgres@cpatrut.ro
- PGADMIN_DEFAULT_PASSWORD=postgres
ports:
- "3000:80"