This commit is contained in:
cupcakearmy 2021-12-20 16:08:28 +01:00
parent e0c76e258e
commit 50650d1e07
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F
3 changed files with 23 additions and 1 deletions

View File

@ -6,3 +6,22 @@
[Telegraf](https://telegraf.js.org/) [Telegraf](https://telegraf.js.org/)
## Deployment ## Deployment
```yaml
# docker-compose.yaml
version: '3.8'
services:
app:
image: ghcr.io/cupcakearmy/hcs
restart: unless-stopped
env_file: .env
volumes:
- ./data:/app/data
```
```bash
# .env
BOT_TOKEN=<telegram bot token>
HCS_PASSWORD=<password for users>
```

View File

@ -1,3 +1,6 @@
# DEVELOPMENT ONLY
# See README.md
version: '3.8' version: '3.8'
services: services:

View File

@ -1,6 +1,6 @@
{ {
"private": true, "private": true,
"version": "1.0.0-rc.1", "version": "1.0.0",
"type": "module", "type": "module",
"main": "./dist/index.js", "main": "./dist/index.js",
"engines": { "engines": {