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
| ## RUN docker-compose -p "db" -f databases.yaml up | |
| ## If you want to link some of these dbs to other containers then do: | |
| ## docker run -it --network databases --link db_mysql_1:mysql helloworld | |
| version: "3.5" | |
| x-defaults: &defaults | |
| restart: unless-stopped | |
| networks: |
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: | |
| ## Postgres & pgAdmin ## | |
| postgres: | |
| restart: unless-stopped | |
| image: postgres:latest | |
| ports: | |
| - "5432:5432" |