capichat/docker-compose.yaml

36 lines
705 B
YAML
Raw Permalink Normal View History

2023-03-22 22:16:59 -03:00
version: '3.8'
services:
db:
networks:
- postgres
image: postgres:15.2-alpine3.17
environment:
- POSTGRES_USER=capycode
- POSTGRES_DB=estudio
- POSTGRES_PASSWORD=capycode123
expose:
- "5432"
api:
networks:
- postgres
2023-03-30 11:18:28 -03:00
image: capichat:0.0.1
2023-03-22 22:16:59 -03:00
ports:
- "8000:8000"
environment:
- DB_URL=postgresql://capycode:capycode123@db:5432/estudio
depends_on:
- db
2023-03-30 11:18:28 -03:00
volumes:
- .:/app/
2023-03-22 22:16:59 -03:00
pgadmin:
networks:
- postgres
image: dpage/pgadmin4
environment:
- PGADMIN_DEFAULT_EMAIL=CapycodeUSM@gmail.com
- PGADMIN_DEFAULT_PASSWORD=capycode123
ports:
- "3000:80"
networks:
postgres: