Skip to content

Commit

Permalink
feat: add docker compose example
Browse files Browse the repository at this point in the history
  • Loading branch information
tiamo committed Sep 19, 2023
1 parent e70c333 commit d8f091f
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
version: "3.7"

services:

agent:
image: ghcr.io/mfactory-lab/svt-agent:nightly

# platform: linux/arm64
# platform: linux/x86_64
# use "build" to build your local lemmy server image for development. make sure to comment out "image".
# run: docker compose up --build

# build:
# context: ./
# dockerfile: Dockerfile
# args:
# RUST_RELEASE_MODE: release
# CARGO_BUILD_FEATURES: default

volumes:
# - /var/run/docker.sock:/var/run/docker.sock
- ./keypair.json:/app/keypair.json
command: run
restart: always
environment:
- RUST_LOG=info
# - RUST_BACKTRACE=full
# - DOCKER_HOST_IP=127.0.0.1
- AGENT_CLUSTER=mainnet
- AGENT_CHANNEL_ID=3Pb2CPq8pjUECdMDhsSnXBM59c7KWazrR8m7W9tCEECB

0 comments on commit d8f091f

Please sign in to comment.