Skip to content

Commit

Permalink
add example/server/docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Pieter E Smit authored and fcsonline committed Apr 16, 2023
1 parent f56d89a commit e15e6a0
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@

# Example server
example/server/node_modules

# Editor temp files
.vscode
6 changes: 6 additions & 0 deletions example/server/Dockerfile-example-server
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM node
WORKDIR /app
COPY package.json ./
RUN npm install
COPY . .
CMD node server.js
14 changes: 14 additions & 0 deletions example/server/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: "3.9"
services:
drill-server:
ports:
- "9000:9000"
image: drill-example-server:latest
build:
context: ./
dockerfile: Dockerfile-example-server
#args:
# buildno: 1
environment:
OUTPUT: 0
DELAY_MS: 100

0 comments on commit e15e6a0

Please sign in to comment.