Skip to content

Instantly share code, notes, and snippets.

@fwfurtado
Last active February 22, 2018 23:22
Show Gist options
  • Save fwfurtado/485764424ea7ea3fddf3d42b31ff83ec to your computer and use it in GitHub Desktop.
Save fwfurtado/485764424ea7ea3fddf3d42b31ff83ec to your computer and use it in GitHub Desktop.
version: '3'
services:
loadBalance:
image: nginx:alpine
volumes:
- ./config:/etc/nginx/conf.d/
ports:
- "8090:80"
networks:
- fj91
depends_on:
- app
restart: on-failure
db:
image: mysql
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
networks:
- fj91
app:
image: wilinando/performance
environment:
- MYSQL_HOST=db
networks:
- fj91
depends_on:
- db
restart: on-failure
networks:
fj91:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment