Created
April 4, 2019 21:12
-
-
Save martenc/796f828e14e3b4b4a775bba4e0f5a848 to your computer and use it in GitHub Desktop.
example definitions for mult-containers
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
version: '3.4' | |
services: | |
webmvc: | |
image: eshop/web | |
environment: | |
- CatalogUrl=http://catalog.api | |
- OrderingUrl=http://ordering.api | |
ports: | |
- "80:80" | |
depends_on: | |
- catalog.api | |
- ordering.api | |
catalog.api: | |
image: eshop/catalog.api | |
environment: | |
- ConnectionString=Server=sql.data;Port=1433;Database=CatalogDB;… | |
ports: | |
- "81:80" | |
depends_on: | |
- sql.data | |
ordering.api: | |
image: eshop/ordering.api | |
environment: | |
- ConnectionString=Server=sql.data;Database=OrderingDb;… | |
ports: | |
- "82:80" | |
extra_hosts: | |
- "CESARDLBOOKVHD:10.0.75.1" | |
depends_on: | |
- sql.data | |
sql.data: | |
image: mssql-server-linux:latest | |
environment: | |
- SA_PASSWORD=Pass@word | |
- ACCEPT_EULA=Y | |
ports: | |
- "5433:1433" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment