# HG changeset patch # User anatofuz # Date 1576558067 -32400 # Node ID 23093c66c615e6d194e465c286bacef991053e12 # Parent 8caafa676c634fe988a72419cde6bd5420da4667 using user name diff -r 8caafa676c63 -r 23093c66c615 .env --- /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} diff -r 8caafa676c63 -r 23093c66c615 docker-compose.yml --- 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: