1
0
mirror of https://github.com/bingohuang/docker-labs.git synced 2025-07-14 18:27:25 +08:00

Add a name to the container

This commit is contained in:
Jonathan Leibiusky @xetorthio 2016-11-17 17:35:33 -03:00
parent 60395a269a
commit c2ec79584f

View File

@ -1,6 +1,8 @@
version: '2' version: '2'
services: services:
web: web:
# pwd daemon container always needs to be named this way
container_name: pwd
# use the latest golang image # use the latest golang image
image: golang image: golang
# go to the right place and starts the app # go to the right place and starts the app