Skip to content

Commit

Permalink
Merge pull request #3 from InfyDex/issue-1
Browse files Browse the repository at this point in the history
#1 Add start kit with basic functionalities
  • Loading branch information
cksharma11 authored Oct 9, 2021
2 parents 24c3c4b + 180ac71 commit 36418aa
Show file tree
Hide file tree
Showing 29 changed files with 12,416 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM node:10-alpine

COPY . .

WORKDIR .

RUN npm install

EXPOSE 3000

CMD npm run start:dev
18 changes: 18 additions & 0 deletions docker-compose-mysql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: '3.3'
services:
db:
image: mysql:5.7
restart: always
environment:
MYSQL_DATABASE: 'db'
MYSQL_USER: 'user'
MYSQL_PASSWORD: 'password'
MYSQL_ROOT_PASSWORD: 'password'
ports:
- '3306:3306'
expose:
- '3306'
volumes:
- my-db:/var/lib/mysql
volumes:
my-db:
29 changes: 29 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: '3'
services:
racservice:
container_name: racservice
build: .
ports:
- 3000:3000
environment:
POSTGRES_HOST: 13.234.76.69
POSTGRES_PORT: 5432
POSTGRES_USER: rac
POSTGRES_DATABASE: racservice
POSTGRES_PASSWORD: adgjmptw
PORT: 3000

depends_on:
- postgres
links:
- postgres

postgres:
container_name: postgres
restart: always
image: postgres
ports:
- 5432:5432
environment:
POSTGRES_DB: racservice
POSTGRES_USER: rac
Loading

0 comments on commit 36418aa

Please sign in to comment.