Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dima Krasner
Sharkey
Commits
c3d5ed19
Commit
c3d5ed19
authored
8 years ago
by
syuilo
Browse files
Options
Downloads
Patches
Plain Diff
✌️
parent
5f78ef94
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+0
-0
0 additions, 0 deletions
Dockerfile
README.md
+16
-0
16 additions, 0 deletions
README.md
docker/README.md
+0
-15
0 additions, 15 deletions
docker/README.md
with
16 additions
and
15 deletions
docker/
Dockerfile
→
Dockerfile
+
0
−
0
View file @
c3d5ed19
File moved
This diff is collapsed.
Click to expand it.
README.md
+
16
−
0
View file @
c3d5ed19
...
...
@@ -39,6 +39,22 @@ Misskey requires two domains called the primary domain and the secondary domain.
### reCAPTCHA
Please visit https://www.google.com/recaptcha/intro/ and generate keys.
## Setup with Docker
Ensure that the working directory is the repository root directory.
To create misskey image:
`sudo docker build -t misskey`
To run misskey:
`sudo docker run --rm -i -t -p $PORT:80 -v $(pwd):/root/misskey -v $DBPATH:/data/db misskey`
where $PORT is the port used to access Misskey Web from host browser
and $DBPATH is the path of MongoDB database on the host for data persistence.
ex:
`sudo docker run --rm -i -t -p 80:80 -v $(pwd):/root/misskey -v /data/db:/data/db misskey`
Note that $(pwd) is the working directory.
## Launch
`sudo npm start`
...
...
This diff is collapsed.
Click to expand it.
docker/README.md
deleted
100644 → 0
+
0
−
15
View file @
5f78ef94
# How to use Misskey with Docker
Ensure that the working directory is the repository root directory.
To create misskey image:
`sudo docker build -t misskey ./docker`
To run misskey:
`sudo docker run --rm -i -t -p $PORT:80 -v $(pwd):/root/misskey -v $DBPATH:/data/db misskey`
where $PORT is the port used to access Misskey Web from host browser
and $DBPATH is the path of MongoDB database on the host for data persistence.
ex:
`sudo docker run --rm -i -t -p 80:80 -v $(pwd):/root/misskey -v /data/db:/data/db misskey`
Note that $(pwd) is the working directory.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment