I'm building an app using PostgreSQL ... But I need 2 DB's ... Is there an easy way to add 2 DB's using the same username / password / host? One called API and one called TESTING
My current docker-compose DB setup is as follows;
# PostgreSQL Service
postgresql:
image: postgres
container_name: postgresql
restart: unless-stopped
tty: true
ports:
- "5432:5432"
environment:
- POSTGRES_USER=dev
- POSTGRES_PASSWORD=development1234
- POSTGRES_DB=api
- SERVICE_TAGS=dev
- PGDATA=/tmp
volumes:
- ./dev/dbdata:/var/lib/postgresql/data
networks:
- app-network