Astra is a discord bot written in rust to keep you reminded on rocket launches and more! An always online bot is available here
Clone the repo with
git clone https://github.com/AltF02/astra.gitWe need to copy the example.env to .env
cp .example.env .envFill out this with your token and configuration. Once that's done we're going to run, this will take some time as its compiling everything
cargo runNOTE: Docker support is currently in beta and can cause issues
Using docker compose requires an .env file, an template can be found in .example.env
version: "3"
services:
astra:
restart: always
build: .
networks:
- astra
env_file:
- .env
astra-db:
image: postgres:14.1-alpine3.14
volumes:
- data:/var/lib/postgresql/data
networks:
- astra
ports:
- "5432:5432"
volumes:
data:
networks:
astra: