Created
March 27, 2021 23:41
-
-
Save csokun/7f2233278faf7bc5e45196ece149de1a to your computer and use it in GitHub Desktop.
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
# .env | |
# POSTGRES_PASSWORD= | |
# PGADMIN_DEFAULT_EMAIL=admin@localhost | |
# PGADMIN_DEFAULT_PASSWORD= | |
version: "3.3" | |
services: | |
pgsql: | |
image: postgres:11-alpine | |
restart: always | |
volumes: | |
- $PWD/pgdata11:/var/lib/postgresql/data | |
env_file: .env | |
ports: | |
- 5432:5432 | |
pgadmin: | |
image: dpage/pgadmin4:4.29 | |
restart: always | |
env_file: .env | |
volumes: | |
- $PWD/pg4admin:/var/lib/pgadmin | |
ports: | |
- 8282:80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment