File tree 5 files changed +340
-259
lines changed
5 files changed +340
-259
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,24 @@ services:
5
5
container_name : " my_postgres"
6
6
ports :
7
7
- " 5432:5432"
8
- # volumes:
9
- # - my_dbdata:/var/lib/postgresql/data
8
+ # volumes:
9
+ # - my_dbdata:/var/lib/postgresql/data
10
10
environment :
11
- POSTGRES_USER : pro_user
12
- POSTGRES_PASSWORD : pro_pwd
13
- POSTGRES_DB : proteus
11
+ POSTGRES_USER : pro_user
12
+ POSTGRES_PASSWORD : pro_pwd
13
+ POSTGRES_DB : proteus
14
+
15
+ mysql :
16
+ image : " mysql:8"
17
+ container_name : " my_sql"
18
+ ports :
19
+ - " 3306:3306"
20
+ # volumes:
21
+ # - my_dbdata:/var/lib/postgresql/data
22
+ environment :
23
+ MYSQL_USER : pro_user
24
+ MYSQL_PASSWORD : pro_pwd
25
+ MYSQL_ROOT_PASSWORD : root
26
+ MYSQL_DATABASE : proteus
14
27
# volumes:
15
28
# my_dbdata:
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ module github.com/jonbodner/proteus
3
3
go 1.15
4
4
5
5
require (
6
+ github.com/go-sql-driver/mysql v1.5.0
6
7
github.com/google/go-cmp v0.3.1
7
8
github.com/jonbodner/dbtimer v0.0.0-20170410163237-7002f3758ae1
8
9
github.com/jonbodner/multierr v0.0.0-20200223210354-ace728439446
Original file line number Diff line number Diff line change 1
1
github.com/davecgh/go-spew v1.1.0 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
2
2
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c =
3
3
github.com/davecgh/go-spew v1.1.1 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
4
+ github.com/go-sql-driver/mysql v1.5.0 h1:ozyZYNQW3x3HtqT1jira07DN2PArx2v7/mN66gGcHOs =
5
+ github.com/go-sql-driver/mysql v1.5.0 /go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg =
4
6
github.com/google/go-cmp v0.3.1 h1:Xye71clBPdm5HgqGwUkwhbynsUJZhDbS20FvLhQ2izg =
5
7
github.com/google/go-cmp v0.3.1 /go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU =
6
8
github.com/jonbodner/dbtimer v0.0.0-20170410163237-7002f3758ae1 h1:mgFL7UFb88FOlSVgVoIRGJ4yKlkfp8KcXHqy7no+lEU =
You can’t perform that action at this time.
0 commit comments