From 87e53965ad1798d83aa0c70de2b1ee7f93fcb405 Mon Sep 17 00:00:00 2001 From: Rohit Kumbhar Date: Fri, 3 Jan 2025 21:04:53 -0800 Subject: [PATCH] Releasing v0.0.1 --- README.md | 23 +++++++++++++++++++++-- docker-compose.dev.yaml | 18 ++++++++++++++++++ docker-compose.yaml | 13 ++++++------- 3 files changed, 45 insertions(+), 9 deletions(-) create mode 100644 docker-compose.dev.yaml diff --git a/README.md b/README.md index 00a7e8f..fc567ed 100644 --- a/README.md +++ b/README.md @@ -109,8 +109,27 @@ docker compose build # Run the docker image docker compose up -d ``` -## Docker Image -GHCR based Docker image to be released soon... +## Docker Compose +```yaml +volumes: + surmai_data: + +services: + surmai_server: + container_name: surmai_server + image: ghcr.io/rohitkumbhar/surmai:v0.0.1 + volumes: + - surmai_data:/pb_data + ports: + - "9090:8080" + restart: always + environment: + SURMAI_ADMIN_EMAIL: admin@example.com # Add your default administrator email + SURMAI_ADMIN_PASSWORD: ChangeMe123#@! # Admin password. Min 9 characters with all the fixings + PB_DATA_DIRECTORY: /pb_data # Must match volume directory above + +``` + # Credits diff --git a/docker-compose.dev.yaml b/docker-compose.dev.yaml new file mode 100644 index 0000000..97fdf33 --- /dev/null +++ b/docker-compose.dev.yaml @@ -0,0 +1,18 @@ +volumes: + surmai_data: + +services: + surmai: + container_name: surmai_server + image: surmai:latest + build: + dockerfile: ./Dockerfile + volumes: + - surmai_data:/pb_data + ports: + - "9090:8080" + restart: always + environment: + SURMAI_ADMIN_EMAIL: admin@surmai.net + SURMAI_ADMIN_PASSWORD: ChangeMe123#@! + PB_DATA_DIRECTORY: /pb_data \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index 97fdf33..1ad7a1e 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -2,17 +2,16 @@ volumes: surmai_data: services: - surmai: + surmai_server: container_name: surmai_server - image: surmai:latest - build: - dockerfile: ./Dockerfile + image: ghcr.io/rohitkumbhar/surmai:main volumes: - surmai_data:/pb_data ports: - "9090:8080" restart: always environment: - SURMAI_ADMIN_EMAIL: admin@surmai.net - SURMAI_ADMIN_PASSWORD: ChangeMe123#@! - PB_DATA_DIRECTORY: /pb_data \ No newline at end of file + SURMAI_ADMIN_EMAIL: admin@example.com # Add your default administrator email + SURMAI_ADMIN_PASSWORD: ChangeMe123#@! # Admin password. Min 9 characters with all the fixings + PB_DATA_DIRECTORY: /pb_data # Must match volume directory above + # SURMAI_DEMO_MODE: true # Enable Demo mode \ No newline at end of file