Skip to content

Instantly share code, notes, and snippets.

@vinceyoumans
Last active December 11, 2018 17:43
Show Gist options
  • Save vinceyoumans/5ad55e54a0f43eca7842e97a430e26a4 to your computer and use it in GitHub Desktop.
Save vinceyoumans/5ad55e54a0f43eca7842e97a430e26a4 to your computer and use it in GitHub Desktop.
docker-compose.yml
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