Permalink
Browse files

とりあえずbank APIが動いた

  • Loading branch information...
ken39arg committed Jul 12, 2018
1 parent ab82adb commit 03ca4fc3a2eb81bbc6859ca0c14c2c816b697f9e
Showing with 461 additions and 83 deletions.
  1. +25 −0 blackbox/bank/docker-compose.yml
  2. +369 −54 blackbox/bank/main.go
  3. +1 −0 blackbox/bank/sql/00_create_database.sql
  4. +32 −0 blackbox/bank/sql/isubank.sql
  5. +0 −18 db/isubank.sql
  6. +34 −11 docs/API.md
@@ -0,0 +1,25 @@
version: '2'
services:
app:
image: golang:1.10
command: bash -c "go get ./... && go run main.go -port=5515 -dbhost=mysql -dbuser=root -dbpass=root"
ports:
- "5515:5515"
links:
- mysql
working_dir: /go/src/bank
volumes:
- gopath:/go
- .:/go/src/bank
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 03ca4fc

Please sign in to comment.