-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
63 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
node_modules | ||
test | ||
.github | ||
.vscode | ||
nextcloud | ||
production | ||
config | ||
certs | ||
config.* | ||
docker* | ||
Docker* | ||
.git* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,3 +36,4 @@ config.yml | |
production | ||
nextcloud | ||
certs | ||
config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM node:18 | ||
LABEL authors="Alex Roehm" | ||
# update dependencies and install curl | ||
RUN apt-get update && apt-get install -y \ | ||
curl dumb-init\ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Create app directory | ||
WORKDIR /ldap | ||
RUN chown 1000:1000 . | ||
|
||
COPY --chown=node:node . . | ||
|
||
USER 1000:1000 | ||
|
||
# update each dependency in package.json to the latest version | ||
ENV NODE_ENV=production | ||
RUN yarn install --production | ||
|
||
EXPOSE 1389 | ||
ENTRYPOINT [ "dumb-init", "node", "." ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: '3.1' | ||
|
||
services: | ||
ccf-ctldap: | ||
image: ccf-ctldap | ||
ports: | ||
- 1389:1389 | ||
volumes: | ||
- ./config:/ldap/config | ||
- ./certs:/ldap/certs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters