File tree 4 files changed +6
-5
lines changed
developer-tools/java-debugging
docker-entrypoint-initdb.d
registration-webserver/tomcat
4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
- version : " 3 "
1
+ version : " 2 "
2
2
3
3
services :
4
4
@@ -30,3 +30,4 @@ services:
30
30
- " 8000:8000"
31
31
restart : always
32
32
33
+
Original file line number Diff line number Diff line change 1
- FROM mysql:5.6
1
+ FROM mysql:latest
2
2
3
3
# Copy the database initialize script:
4
4
# Contents of /docker-entrypoint-initdb.d are run on mysqld startup
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ USE `dockercon2035`;
2
2
3
3
CREATE TABLE `user ` (
4
4
` id` bigint (20 ) NOT NULL AUTO_INCREMENT,
5
- ` dateOfBirth` datetime NOT NULL ,
5
+ ` dateOfBirth` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ,
6
6
` emailAddress` varchar (255 ) NOT NULL ,
7
7
` firstName` varchar (255 ) NOT NULL ,
8
8
` lastName` varchar (255 ) NOT NULL ,
Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /bin/sh
2
2
3
- exec ${CATALINA_HOME} /bin/catalina.sh jpda run
3
+ exec ${CATALINA_HOME} /bin/catalina.sh jpda run
You can’t perform that action at this time.
0 commit comments