Created
March 7, 2016 14:19
-
-
Save pfrayer/048ae6aeeb0a67840361 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
web: | |
build: . | |
image: java-jersey-image | |
container_name: app-pierre | |
ports: | |
- 8080 | |
links: | |
- database | |
database: | |
image: mysql:5.6 | |
container_name: mysql-pierre | |
environment: | |
- MYSQL_ROOT_PASSWORD=secret | |
- MYSQL_DATABASE=mydatabase | |
volumes: | |
- ./conf/data:/docker-entrypoint-initdb.d | |
ports: | |
- 3306 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment