on fly.io
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
syui 69aa91810d
fix
2 months ago
.config first commit 2 months ago
.dockerignore first commit 2 months ago
.gitignore first commit 2 months ago
Dockerfile first commit 2 months ago
fly.redis.toml first commit 2 months ago
fly.toml first commit 2 months ago
readme.md fix 2 months ago
start-redis-server.sh first commit 2 months ago

readme.md

install

# https://misskey-hub.net/docs/install/docker.html
$ git clone -b master https://github.com/misskey-dev/misskey.git
$ cd misskey
$ git checkout master
$ git clone https://git.syui.cf/syui/misskey misskey-on-fly
$ mv misskey-on-fly/.dockerignore .
$ mv misskey-on-fly/Dockerfile .
$ mv misskey-on-fly/fly.* .
$ mv misskey-on-fly/start-redis-server.sh .
$ rm -rf misskey-on-fly

$ mv .config/example.yml .config/default.yml

# $app
$ fly apps create $app
$ fly scale memory 512
$ fly vol create --size 1 misskey_uploads

# $app-redis
$ fly apps create $app-redis
$ fly vol create --size 1 -a $app-redis misskey_redis 
$ fly deploy --config fly.redis.toml --build-target redis-server

# $app-db
$ fly pg create $app-db
# DATABASE_URL
$ fly pg attach $app-db

$ vim .config/default.yml
$ vim fly.toml 

# domain
$ fly certs add MYDOMAIN.COM
$ fly certs add WWW.MYDOMAIN.COM

$ fly deploy

update

$ git pull
$ git submodule update --init
$ git stash pop

$ fly deploy