Skip to content

Instantly share code, notes, and snippets.

@jensonjjacob
Forked from usmanismail/docker-compose.yml
Created September 20, 2018 13:55
Show Gist options
  • Save jensonjjacob/46c1fa3ad75bdeac1496329606197f36 to your computer and use it in GitHub Desktop.
Save jensonjjacob/46c1fa3ad75bdeac1496329606197f36 to your computer and use it in GitHub Desktop.
Goauth:
image: go-auth
ports:
- "9000:9000"
stdin_open: true
links:
- Database:db
command:
- "--db-host"
- "db"
tty: true
Database:
image: mysql
environment:
MYSQL_ROOT_PASSWORD: rootpass
MYSQL_DATABASE: messenger
MYSQL_USER: messenger
MYSQL_PASSWORD: messenger
expose:
- "3306"
stdin_open: true
tty: true
Goauth1:
image: go-auth
ports:
- "9000:9000"
stdin_open: true
links:
- Database:db
command:
- "--db-host"
- "db"
tty: true
Database1:
image: mysql
environment:
MYSQL_ROOT_PASSWORD: rootpass
MYSQL_DATABASE: messenger
MYSQL_USER: messenger
MYSQL_PASSWORD: messenger
expose:
- "3306"
stdin_open: true
tty: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment