Created
May 17, 2021 14:34
-
-
Save alexandre-jacquot-ptl/a67c6af96c1957c3980d37a2eeae589e to your computer and use it in GitHub Desktop.
r2dbc - docker compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.5" | |
services: | |
postgres: | |
container_name: postgres | |
image: postgres:13.2 | |
restart: always | |
environment: | |
- POSTGRES_USER=admin | |
- POSTGRES_PASSWORD=password | |
- POSTGRES_DB=todolist | |
ports: | |
- "5432:5432" | |
volumes: | |
- postgres_data:/data/db | |
pgadmin: | |
container_name: pgadmin4 | |
image: dpage/pgadmin4 | |
restart: always | |
environment: | |
PGADMIN_DEFAULT_EMAIL: admin@admin.com | |
PGADMIN_DEFAULT_PASSWORD: password | |
ports: | |
- "5050:80" | |
volumes: | |
- pgadmin_data:/data/pgadmin | |
volumes: | |
postgres_data: | |
pgadmin_data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment