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
bunnybeam
Sharkey
Commits
3a77d871
Commit
3a77d871
authored
6 years ago
by
Aya Morisawa
Committed by
syuilo
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Stop supporting docker
parent
4ee6d0b5
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
docker/Dockerfile
+0
-26
0 additions, 26 deletions
docker/Dockerfile
docker/misskey.sh
+0
-6
0 additions, 6 deletions
docker/misskey.sh
docs/docker.en.md
+0
-29
0 additions, 29 deletions
docs/docker.en.md
with
0 additions
and
61 deletions
docker/Dockerfile
deleted
100644 → 0
+
0
−
26
View file @
4ee6d0b5
FROM
base/archlinux
MAINTAINER
Aya Morisawa
RUN
rm
/etc/pacman.d/mirrorlist
RUN
echo
'Server = http://ftp.jaist.ac.jp/pub/Linux/ArchLinux/$repo/os/$arch'
>>
/etc/pacman.d/mirrorlist
RUN
echo
'Server = http://ftp.tsukuba.wide.ad.jp/Linux/archlinux/$repo/os/$arch'
>>
/etc/pacman.d/mirrorlist
RUN
rm
/etc/localtime
RUN
ln
-s
/usr/share/zoneinfo/Asia/Tokyo /etc/localtime
RUN
pacman
-Sy
--noconfirm
RUN
pacman
-S
--noconfirm
pacman
RUN
pacman-db-upgrade
RUN
pacman
-S
--noconfirm
archlinux-keyring
RUN
pacman
-Syyu
--noconfirm
RUN
pacman
-S
--noconfirm
git nodejs npm mongodb redis
COPY
misskey.sh /root/misskey.sh
RUN
chmod
u+x /root/misskey.sh
EXPOSE
80
EXPOSE
443
EXPOSE
27017
CMD
["/root/misskey.sh"]
This diff is collapsed.
Click to expand it.
docker/misskey.sh
deleted
100644 → 0
+
0
−
6
View file @
4ee6d0b5
#!/bin/sh
redis-server
--daemonize
yes
mongod
>
/dev/null &
cd
/root/misskey
npm start
tail
-f
/dev/null
This diff is collapsed.
Click to expand it.
docs/docker.en.md
deleted
100644 → 0
+
0
−
29
View file @
4ee6d0b5
Setup with Docker :whale:
================================================================
Ensure that the working directory is the repository root directory.
To create misskey image:
```
console
$
sudo
docker build
-t
misskey ./docker
```
To run misskey:
```
console
$
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:
```
console
$
sudo
docker run
--rm
-i
-t
-p
80:80
-v
$(
pwd
)
:/root/misskey
-v
/data/db:/data/db misskey
```
If you want to run misskey in production mode, add
`--env NODE_ENV=production`
like this:
```
console
$
sudo
docker run
--rm
-i
-t
-p
80:80
-v
$(
pwd
)
:/root/misskey
-v
/data/db:/data/db
--env
NODE_ENV
=
production 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