Skip to content

Commit

Permalink
deploy docker scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
hotlong committed Sep 25, 2023
1 parent 711a56c commit b66d4be
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 45 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
17 changes: 17 additions & 0 deletions deploy/try/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM steedos/steedos-community:latest


# Install MongoDB 4.4
# https://www.mongodb.com/docs/v4.4/tutorial/install-mongodb-on-debian/
RUN sudo apt-get update \
&& sudo apt-get install gnupg curl

RUN curl -fsSL https://pgp.mongodb.com/server-4.4.asc | \
sudo gpg -o /usr/share/keyrings/mongodb-server-4.4.gpg \
--dearmor

RUN echo "deb [ signed-by=/usr/share/keyrings/mongodb-server-4.4.gpg ] http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list

RUN sudo apt-get update \
&& sudo apt-get install -y mongodb-org=4.4.24 mongodb-org-server=4.4.24 mongodb-org-shell=4.4.24 mongodb-org-mongos=4.4.24 mongodb-org-tools=4.4.24

2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
steedos:
build:
context: ./
dockerfile: ./docker/src.Dockerfile.dev
dockerfile: ./deploy/dev/Dockerfile
image: steedos/steedos-community:dev
ports:
- "6000:6000"
Expand Down
44 changes: 0 additions & 44 deletions docker/src.Dockerfile.prod

This file was deleted.

0 comments on commit b66d4be

Please sign in to comment.