Created
August 27, 2016 22:31
-
-
Save amjadafanah/97cb1834ae58192ca78c4107d39c17a6 to your computer and use it in GitHub Desktop.
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
nginx: | |
image: nginx:latest | |
publish_all: true | |
mem_min: 50m | |
host: host1 | |
plugins: | |
- !plugin | |
id: 0H1Nk | |
restart: true | |
lifecycle: on_create, post_scale_out:dotnet, post_scale_in:dotnet | |
arguments: | |
# Use container_private_ip if you're using Docker networking | |
- servers=server {{dotnet | container_private_ip}}:5000; | |
# Use container_hostname if you're using Weave networking | |
#- servers=server {{dotnet | container_hostname}}:5000; | |
dotnet: | |
image: dchq/dotnet-names-directory:latest | |
host: host1 | |
mem_min: 200m | |
environment: | |
- database_driverClassName=sqlight | |
- database_url=Filename=.\\sqlight_db.db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment