Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.

Latest commit

 

History

History
26 lines (19 loc) · 586 Bytes

docker.md

File metadata and controls

26 lines (19 loc) · 586 Bytes

Docker Instructions

To build the docker image, run the following command:

docker build -t "arc:latest" .

To run the docker image for testing, run the following command:

docker run -p 3333:3333 -e ARCOS_LISTEN_CONFIG_OVERRIDE="true" arc:latest

In production, use Docker Compose. Here is an example docker-compose.yml file:

version: '3.7'
services:
  arc:
    image: arc:latest
    ports:
      - 3333:3333
    environment:
      - ARCOS_LISTEN_CONFIG_OVERRIDE=true
    volumes:
      - ./data:/ArcOS/data

Then run docker compose up -d to start the container.