Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Employee-Microservices-Docker-Composition
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kyle Muldoon
Employee-Microservices-Docker-Composition
Commits
6305eab0
Commit
6305eab0
authored
Apr 21, 2021
by
Kyle Muldoon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding project files
parent
b7a75b5d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
0 deletions
+20
-0
Dockerfile
employeeDB/Dockerfile
+7
-0
schema.sql
employeeDB/schema.sql
+12
-0
employeeservice
employeeservice
+1
-0
No files found.
employeeDB/Dockerfile
0 → 100644
View file @
6305eab0
FROM
postgres:12.2
ENV
POSTGRES_PASSWORD=password
COPY
./schema.sql ./docker-entrypoint-initdb.d/schema.sql
EXPOSE
5432
ENTRYPOINT
["docker-entrypoint.sh"]
CMD
["postgres"]
employeeDB/schema.sql
0 → 100644
View file @
6305eab0
DROP
TABLE
IF
EXISTS
EMPLOYEE
;
CREATE
TABLE
EMPLOYEE
(
ID
INT
AUTO_INCREMENT
PRIMARY
KEY
,
FIRST_NAME
VARCHAR
(
255
)
NOT
NULL
,
LAST_NAME
VARCHAR
(
255
)
NOT
NULL
);
INSERT
INTO
EMPLOYEE
VALUES
(
1
,
'John'
,
'Smith'
),
(
2
,
'Jane'
,
'Doe'
),
(
3
,
'Walter'
,
'Bell'
);
\ No newline at end of file
employeeservice
@
95a072d4
Subproject commit 95a072d4483fdbc56cc2c9c26ec1bcbd348e1511
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment