Skip to content

Commit

Permalink
logger appも作った
Browse files Browse the repository at this point in the history
  • Loading branch information
ken39arg committed Jul 12, 2018
1 parent 36212b3 commit 6087c5e
Show file tree
Hide file tree
Showing 4 changed files with 423 additions and 0 deletions.
25 changes: 25 additions & 0 deletions blackbox/logger/docker-compose.yml
@@ -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:

0 comments on commit 6087c5e

Please sign in to comment.