Add a docker-compose setup

This commit is contained in:
prcrst 2024-03-08 10:05:53 +01:00
parent cda9f86b92
commit 0b1fe445f7
4 changed files with 17 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/target
.vscode
override.env

1
docker-compose/README.md Normal file
View File

@ -0,0 +1 @@
Copy default.env to override.env and adjust the values

View File

@ -0,0 +1,4 @@
LEMMY_SERVER="https://enterprise.lemmy.ml"
LEMMY_PASSWORD=""
LEMMY_USER="wordlebot"
LEMMY_COMMUNITY="wordle"

View File

@ -0,0 +1,11 @@
version: "3"
services:
wordlebot:
image: git.prcr.st/prcrst/wordlebot/wordlebot
container_name: wordlebot
restart: "no"
env_file:
- default.env
- override.env