Last active
June 18, 2022 08:14
-
-
Save twyle/f631a8472e3210cabfcb50d1b0756080 to your computer and use it in GitHub Desktop.
This file contains hidden or 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' | |
services: | |
test_db: | |
image: postgres | |
container_name: test_db_2 | |
restart: always | |
environment: | |
POSTGRES_HOST: localhost | |
POSTGRES_DB: lyle | |
POSTGRES_PORT: 5432 | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: lyle | |
ports: | |
- 5437:5432 | |
dev_db: | |
image: postgres | |
container_name: dev_db_2 | |
restart: always | |
volumes: | |
- postgres_data:/var/lib/postgresql/data/ | |
environment: | |
POSTGRES_HOST: localhost | |
POSTGRES_DB: lyle | |
POSTGRES_PORT: 5432 | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: lyle | |
ports: | |
- 5438:5432 | |
volumes: | |
postgres_data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment