Skip to content

Instantly share code, notes, and snippets.

@shubhamoy
Created January 21, 2018 10:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shubhamoy/f6a78a2fd4dd747b09f3add4d3fee088 to your computer and use it in GitHub Desktop.
Save shubhamoy/f6a78a2fd4dd747b09f3add4d3fee088 to your computer and use it in GitHub Desktop.
docker-compose file for photolia development
version: '3'
services:
dbdev:
image: mysql:latest
networks:
- devnet
environment:
- MYSQL_ROOT_PASSWORD=toor
restart: always
volumes:
- "./dbdata:/var/lib/mysql"
ports:
- 3306:3306
frontdev:
image: shubhamoy/la2p5
restart: always
volumes:
- "./photolia:/www"
networks:
- devnet
depends_on:
- dbdev
ports:
- 8000:80
networks:
devnet:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment