mirror of
https://github.com/NexVeridian/ark-invest-api-rust.git
synced 2025-09-01 17:39:10 +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:
|
||||
ark-invest-api-rust:
|
||||
image: ark-invest-api-rust
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
DOCKER_BUILDKIT: 1
|
||||
container_name: ark-invest-api-rust
|
||||
restart: unless-stopped
|
||||
# environment:
|
||||
# - NGINX = false
|
||||
volumes:
|
||||
- ./data:/ark-invest-api-rust/data
|
||||
ports:
|
||||
- "3000:3000"
|
||||
ark-invest-api-rust:
|
||||
image: ark-invest-api-rust
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
DOCKER_BUILDKIT: 1
|
||||
container_name: ark-invest-api-rust
|
||||
restart: unless-stopped
|
||||
# environment:
|
||||
# - NGINX = false
|
||||
volumes:
|
||||
- ./data:/data
|
||||
ports:
|
||||
- "3000:3000"
|
||||
|
||||
volumes:
|
||||
data:
|
||||
data:
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
services:
|
||||
ark-invest-api-rust:
|
||||
image: ghcr.io/nexveridian/ark-invest-api-rust:latest
|
||||
container_name: ark-invest-api-rust
|
||||
restart: unless-stopped
|
||||
# environment:
|
||||
# - NGINX = false
|
||||
volumes:
|
||||
- ./data:/ark-invest-api-rust/data
|
||||
ports:
|
||||
- "3000:3000"
|
||||
ark-invest-api-rust:
|
||||
image: ghcr.io/nexveridian/ark-invest-api-rust:latest
|
||||
container_name: ark-invest-api-rust
|
||||
restart: unless-stopped
|
||||
# environment:
|
||||
# - NGINX = false
|
||||
volumes:
|
||||
- ./data:/data
|
||||
ports:
|
||||
- "3000:3000"
|
||||
|
||||
volumes:
|
||||
data:
|
||||
data:
|
||||
|
|
|
@ -73,8 +73,7 @@
|
|||
tag = "latest";
|
||||
copyToRoot = [ my-crate ];
|
||||
config = {
|
||||
Cmd = [ "./ark-invest-api-rust" ];
|
||||
WorkingDir = "${my-crate}/ark-invest-api-rust";
|
||||
Cmd = [ "${my-crate}/bin/ark-invest-api-rust" ];
|
||||
Env = [ "PORT=3000" ];
|
||||
Expose = [ 3000 ];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue