Last active
December 11, 2018 17:43
-
-
Save vinceyoumans/5ad55e54a0f43eca7842e97a430e26a4 to your computer and use it in GitHub Desktop.
docker-compose.yml
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.6' | |
services: | |
postgre: | |
image: postgres:11.1-alpine | |
ports: | |
- "5432" | |
environment: | |
POSTGRES_USER: 'user' | |
POSTGRES_PASSWORD: 'password' | |
POSTGRESS_DB: 'db_amex01' | |
volumes: | |
- ./init:/docker-entrypoint-initdb.d/ | |
# sudo docker-compose -f docker-compose.yml up | |
# HELP: how would I add the goLang service container from this point? | |
# also... what are my connections I need to get to this container? | |
# the goLang service is also a Dockerfile . can I include that in this Dockercompose.yml? | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment