Created
March 25, 2016 08:09
-
-
Save jacksoncharles/960761ea509bcd4cbaae to your computer and use it in GitHub Desktop.
docker-compose config file
This file contains hidden or 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
productsapi: | |
build: ./productsapi | |
dns: | |
- 172.16.4.2 | |
- 172.16.4.13 | |
- 10.49.32.4 | |
ports: | |
- "8080:80" | |
volumes: | |
- ./productsapi:/var/www | |
links: | |
- productsapidb:productsapidb | |
restart: always | |
products: | |
build: ./products | |
dns: | |
- 172.16.4.2 | |
- 172.16.4.13 | |
- 10.49.32.4 | |
ports: | |
- "80:80" | |
volumes: | |
- ./products/public:/var/www | |
restart: always | |
productsapidb: | |
image: mysql | |
ports: | |
- "3306:3306" | |
environment: | |
- MYSQL_ROOT_PASSWORD=root | |
- MYSQL_DATABASE=products | |
restart: always | |
sso: | |
build: ./oauth2 | |
dns: | |
- 172.16.4.2 | |
- 172.16.4.13 | |
- 10.49.32.4 | |
ports: | |
- "1234:80" | |
volumes: | |
- ./oauth2/public:/var/www | |
restart: always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment