mirror of
https://github.com/NexVeridian/ark-invest-api-rust.git
synced 2025-09-02 01:49:11 +00:00
fix: swap docker file to bin
This commit is contained in:
parent
486ed4c958
commit
4a935992b0
3 changed files with 27 additions and 28 deletions
|
@ -1,18 +1,18 @@
|
||||||
services:
|
services:
|
||||||
ark-invest-api-rust:
|
ark-invest-api-rust:
|
||||||
image: ark-invest-api-rust
|
image: ark-invest-api-rust
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
args:
|
args:
|
||||||
DOCKER_BUILDKIT: 1
|
DOCKER_BUILDKIT: 1
|
||||||
container_name: ark-invest-api-rust
|
container_name: ark-invest-api-rust
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
# environment:
|
# environment:
|
||||||
# - NGINX = false
|
# - NGINX = false
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/ark-invest-api-rust/data
|
- ./data:/data
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
data:
|
data:
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
services:
|
services:
|
||||||
ark-invest-api-rust:
|
ark-invest-api-rust:
|
||||||
image: ghcr.io/nexveridian/ark-invest-api-rust:latest
|
image: ghcr.io/nexveridian/ark-invest-api-rust:latest
|
||||||
container_name: ark-invest-api-rust
|
container_name: ark-invest-api-rust
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
# environment:
|
# environment:
|
||||||
# - NGINX = false
|
# - NGINX = false
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/ark-invest-api-rust/data
|
- ./data:/data
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
data:
|
data:
|
||||||
|
|
|
@ -73,8 +73,7 @@
|
||||||
tag = "latest";
|
tag = "latest";
|
||||||
copyToRoot = [ my-crate ];
|
copyToRoot = [ my-crate ];
|
||||||
config = {
|
config = {
|
||||||
Cmd = [ "./ark-invest-api-rust" ];
|
Cmd = [ "${my-crate}/bin/ark-invest-api-rust" ];
|
||||||
WorkingDir = "${my-crate}/ark-invest-api-rust";
|
|
||||||
Env = [ "PORT=3000" ];
|
Env = [ "PORT=3000" ];
|
||||||
Expose = [ 3000 ];
|
Expose = [ 3000 ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue