Created
November 3, 2020 02:34
-
-
Save scrogson/aaccd6a57dfc2317c1baba9ff591e803 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
version: "3" | |
networks: | |
devbox: | |
external: true | |
volumes: | |
rabbitmq: | |
external: true | |
postgres: | |
external: true | |
services: | |
postgres: | |
image: postgres:9.6 | |
environment: | |
POSTGRES_USER: "postgres" | |
POSTGRES_PASSWORD: "postgres" | |
PGDATA: /var/lib/postgresql/data/pgdata | |
ports: | |
- "127.0.0.1:5432:5432" | |
volumes: | |
- postgres:/var/lib/postgresql/data/pgdata | |
networks: | |
- devbox | |
rabbitmq: | |
image: rabbitmq:3.7-management-alpine | |
hostname: rabbitmq | |
networks: | |
- devbox | |
ports: | |
- "127.0.0.1:5672:5672" | |
- "127.0.0.1:15672:15672" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment