Mercurial > hg > Docker > GRPCTest
changeset 4:c57b5d53a71f
use $USER in docker name
author | kono |
---|---|
date | Tue, 17 Dec 2019 13:49:08 +0900 |
parents | 8caafa676c63 |
children | 47b893cfd6d9 |
files | docker-compose.yml |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/docker-compose.yml Tue Dec 17 13:45:08 2019 +0900 +++ b/docker-compose.yml Tue Dec 17 13:49:08 2019 +0900 @@ -3,7 +3,7 @@ services: server: build: . - container_name: "server" + container_name: "server-$USER" ports: - 1234:1234 volumes: @@ -12,7 +12,7 @@ tty: true client: build: . - container_name: "client" + container_name: "client-$USER" environment: SERVER: server:1234 volumes: