Skip to content

Commit 3a0495f

Browse files
first version
0 parents  commit 3a0495f

12 files changed

+2562
-0
lines changed

.dockerignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

.editorconfig

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true

.env

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
MAGASIN=Ramonville
2+
LOGIN=mail@example.com
3+
PASSWORD=xxxxxxxx
4+
MAILER_HOST=localhost
5+
MAILER_PORT=25
6+
MAILER_AUTH_USER=mail@example.com
7+
MAILER_AUTH_PASS=xxxxxxxx
8+
MAIL_FROM=mail@example.com
9+
MAIL_TO=mail@example.com

.gitignore

+89
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
### Node ###
2+
# Logs
3+
logs
4+
*.log
5+
npm-debug.log*
6+
yarn-debug.log*
7+
yarn-error.log*
8+
lerna-debug.log*
9+
10+
# Diagnostic reports (https://nodejs.org/api/report.html)
11+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12+
13+
# Runtime data
14+
pids
15+
*.pid
16+
*.seed
17+
*.pid.lock
18+
19+
# Directory for instrumented libs generated by jscoverage/JSCover
20+
lib-cov
21+
22+
# Coverage directory used by tools like istanbul
23+
coverage
24+
*.lcov
25+
26+
# nyc test coverage
27+
.nyc_output
28+
29+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
30+
.grunt
31+
32+
# Bower dependency directory (https://bower.io/)
33+
bower_components
34+
35+
# node-waf configuration
36+
.lock-wscript
37+
38+
# Compiled binary addons (https://nodejs.org/api/addons.html)
39+
build/Release
40+
41+
# Dependency directories
42+
node_modules/
43+
jspm_packages/
44+
45+
# TypeScript v1 declaration files
46+
typings/
47+
48+
# TypeScript cache
49+
*.tsbuildinfo
50+
51+
# Optional npm cache directory
52+
.npm
53+
54+
# Optional eslint cache
55+
.eslintcache
56+
57+
# Optional REPL history
58+
.node_repl_history
59+
60+
# Output of 'npm pack'
61+
*.tgz
62+
63+
# Yarn Integrity file
64+
.yarn-integrity
65+
66+
# dotenv environment variables file
67+
.env
68+
.env.test
69+
70+
# parcel-bundler cache (https://parceljs.org/)
71+
.cache
72+
73+
# next.js build output
74+
.next
75+
76+
# nuxt.js build output
77+
.nuxt
78+
79+
# vuepress build output
80+
.vuepress/dist
81+
82+
# Serverless directories
83+
.serverless/
84+
85+
# FuseBox cache
86+
.fusebox/
87+
88+
# DynamoDB Local files
89+
.dynamodb/

Dockerfile

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
FROM node:12.10.0
2+
3+
RUN apt-get update && \
4+
apt-get install -y --no-install-recommends \
5+
libasound2 \
6+
libatk-bridge2.0-0 \
7+
libgtk-3-0 \
8+
libnss3 \
9+
libx11-xcb1 \
10+
libxss1 \
11+
libxtst6 && \
12+
rm -rf /var/lib/apt/lists/*
13+
14+
ENV NODE_ENV=production
15+
WORKDIR /usr/src/app
16+
17+
COPY package*.json ./
18+
RUN npm install
19+
20+
COPY src/ ./src/
21+
22+
USER node
23+
CMD [ "node", "src/index.js" ]

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```bash
2+
docker run --rm -e MAGASIN=Ramonville -e LOGIN=mail@example.com -e PASSWORD=xxxxxxxx -e MAILER_HOST=localhost -e MAILER_PORT=25 -e MAILER_AUTH_USER=mail@example.com -e MAILER_AUTH_PASS=xxxxxxxx -e MAIL_FROM=mail@example.com -e MAIL_TO=mail@example.com sebastien.prudhomme/chronodrive
3+
```

0 commit comments

Comments
 (0)