Mercurial > hg > Docker > GRPCTest
changeset 3:23093c66c615
using user name
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 17 Dec 2019 13:47:47 +0900 |
parents | 8caafa676c63 |
children | 47b893cfd6d9 |
files | .env docker-compose.yml |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.env Tue Dec 17 13:47:47 2019 +0900 @@ -0,0 +1,1 @@ +USER=${USER}
--- a/docker-compose.yml Tue Dec 17 13:45:08 2019 +0900 +++ b/docker-compose.yml Tue Dec 17 13:47:47 2019 +0900 @@ -3,7 +3,7 @@ services: server: build: . - container_name: "server" + container_name: "${USER}-server" ports: - 1234:1234 volumes: @@ -12,7 +12,7 @@ tty: true client: build: . - container_name: "client" + container_name: "${USER}-client" environment: SERVER: server:1234 volumes: