Permalink
Browse files

logger appも作った

  • Loading branch information...
ken39arg committed Jul 12, 2018
1 parent 36212b3 commit 6087c5e058576f038a1eeb7b35856105eaed6365
@@ -0,0 +1,25 @@
version: '2'
services:
app:
image: golang:1.10
command: bash -c "go get ./... && go run main.go -port=5516 -dbhost=mysql -dbuser=root -dbpass=root"
ports:
- "5516:5516"
links:
- mysql
working_dir: /go/src/logger
volumes:
- gopath:/go
- .:/go/src/logger
mysql:
image: mysql:5.6.35
environment:
- "TZ=Asia/Tokyo"
- "MYSQL_ROOT_PASSWORD=root"
volumes:
- mysql:/var/lib/mysql
- ./sql:/docker-entrypoint-initdb.d
volumes:
gopath:
mysql:
Oops, something went wrong.

0 comments on commit 6087c5e

Please sign in to comment.