Skip to content

Instantly share code, notes, and snippets.

@caferrari
Last active September 14, 2016 14:48
Show Gist options
  • Save caferrari/718e943570f9b2e11400021f5e54499b to your computer and use it in GitHub Desktop.
Save caferrari/718e943570f9b2e11400021f5e54499b to your computer and use it in GitHub Desktop.
GO
version: '2'
services:
proxy:
image: tegra/go:proxy
ports:
- "8888:80"
links:
- go
- web
mysql:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: 1
MYSQL_DATABASE: go
MYSQL_USER: go
MYSQL_PASSWORD: 123
volumes:
- "./mysql:/var/lib/mysql"
rabbitmq:
image: rabbitmq:3-management
web:
image: tegra/go:frontend-latest
go:
image: tegra/go:backend-latest
links:
- mysql
- rabbitmq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment