-
Notifications
You must be signed in to change notification settings - Fork 5
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
1 parent
dd8cf49
commit c41848f
Showing
67 changed files
with
4,399 additions
and
0 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 @@ | ||
16 |
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,28 @@ | ||
FROM iniquitybbs/iniquity:latest as iniquity | ||
LABEL name="iniquity" | ||
LABEL version="latest" | ||
|
||
WORKDIR /dist | ||
COPY ../ . | ||
|
||
RUN wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash \ | ||
&& . $HOME/.nvm/nvm.sh || true \ | ||
&& nvm install 16 \ | ||
&& nvm install-latest-npm \ | ||
&& npm version \ | ||
&& nvm use | ||
|
||
RUN cd /sbbs/exec/ \ | ||
&& mv login.js login.js-original \ | ||
&& mv logon.js logon.js-original \ | ||
&& cd /sbbs/text/ \ | ||
&& mv answer.msg answer.msg-original ; touch answer.msg \ | ||
&& ln -s /dist/bundle.js /sbbs/exec/login.js | ||
|
||
VOLUME /sbbs | ||
VOLUME /dist | ||
|
||
# Start Iniquity | ||
EXPOSE 22 23 80 443 1123 11235 | ||
|
||
CMD ["/sbbs/exec/sbbs"] |
14 changes: 14 additions & 0 deletions
14
packages/templates/src/euphoria/.iniquity/docker-compose.yml
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,14 @@ | ||
version: "3.9" | ||
services: | ||
runtime: | ||
build: . | ||
ports: | ||
- "22:22" | ||
- "23:23" | ||
- "80:80" | ||
- "443:443" | ||
- "1123:1123" | ||
- "11235:11235" | ||
volumes: | ||
- ./dist:/dist | ||
- ./data:/sbbs/data |
Oops, something went wrong.