mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-11-20 11:21:14 +00:00
Stable version
This commit is contained in:
parent
8e45de327b
commit
2c77d60f5e
6 changed files with 7 additions and 7 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -1642,7 +1642,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "pict-rs"
|
name = "pict-rs"
|
||||||
version = "0.4.0-rc.14"
|
version = "0.4.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"actix-form-data",
|
"actix-form-data",
|
||||||
"actix-rt",
|
"actix-rt",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "pict-rs"
|
name = "pict-rs"
|
||||||
description = "A simple image hosting service"
|
description = "A simple image hosting service"
|
||||||
version = "0.4.0-rc.14"
|
version = "0.4.0"
|
||||||
authors = ["asonix <asonix@asonix.dog>"]
|
authors = ["asonix <asonix@asonix.dog>"]
|
||||||
license = "AGPL-3.0"
|
license = "AGPL-3.0"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
|
@ -230,7 +230,7 @@ $ pict-rs -c /path/to/pict-rs.toml run
|
||||||
|
|
||||||
##### Distro Package
|
##### Distro Package
|
||||||
If getting pict-rs from your distro, please make sure it's a recent version (meaning 0.3.x stable,
|
If getting pict-rs from your distro, please make sure it's a recent version (meaning 0.3.x stable,
|
||||||
or 0.4.0-rc.x). If it is older, consider using an alternative option for installing pict-rs. I am
|
or 0.4.x stable). If it is older, consider using an alternative option for installing pict-rs. I am
|
||||||
currently aware of pict-rs packaged in [the AUR](https://aur.archlinux.org/packages/pict-rs) and
|
currently aware of pict-rs packaged in [the AUR](https://aur.archlinux.org/packages/pict-rs) and
|
||||||
[nixpkgs](https://search.nixos.org/packages?channel=23.05&from=0&size=50&sort=relevance&type=packages&query=pict-rs),
|
[nixpkgs](https://search.nixos.org/packages?channel=23.05&from=0&size=50&sort=relevance&type=packages&query=pict-rs),
|
||||||
but there may be other distros that package it as well.
|
but there may be other distros that package it as well.
|
||||||
|
@ -639,7 +639,7 @@ If you're running with docker-compose, this could look like the following:
|
||||||
```bash
|
```bash
|
||||||
$ sudo docker compose stop pictrs # stop the pict-rs container
|
$ sudo docker compose stop pictrs # stop the pict-rs container
|
||||||
$ sudo docker compose run pictrs sh # launch a shell in the pict-rs container
|
$ sudo docker compose run pictrs sh # launch a shell in the pict-rs container
|
||||||
> pict-rs --version # verify pict-rs version is recent (should probably be 0.4.0-rc.14 or later)
|
> pict-rs --version # verify pict-rs version is recent (should probably be 0.4.0 or later)
|
||||||
> pict-rs \
|
> pict-rs \
|
||||||
migrate-store \
|
migrate-store \
|
||||||
filesystem \
|
filesystem \
|
||||||
|
|
|
@ -2,7 +2,7 @@ version: '3.3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
pictrs:
|
pictrs:
|
||||||
image: asonix/pictrs:0.4.0-rc.14
|
image: asonix/pictrs:0.4.0
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:8080:8080"
|
- "127.0.0.1:8080:8080"
|
||||||
restart: always
|
restart: always
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage {
|
||||||
pname = "pict-rs";
|
pname = "pict-rs";
|
||||||
version = "0.4.0-rc.14";
|
version = "0.4.0";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
||||||
cargoLock = {
|
cargoLock = {
|
||||||
|
|
|
@ -69,7 +69,7 @@ targets = 'warn,tracing_actix_web=info,actix_server=info,actix_web=info'
|
||||||
#
|
#
|
||||||
# services:
|
# services:
|
||||||
# pictrs:
|
# pictrs:
|
||||||
# image: asonix/pictrs:0.4.0-rc.14
|
# image: asonix/pictrs:0.4.0
|
||||||
# ports:
|
# ports:
|
||||||
# - "127.0.0.1:8080:8080"
|
# - "127.0.0.1:8080:8080"
|
||||||
# - "127.0.0.1:6669:6669" # this is the line that exposes console
|
# - "127.0.0.1:6669:6669" # this is the line that exposes console
|
||||||
|
|
Loading…
Reference in a new issue