add compose

This commit is contained in:
2024-11-20 16:52:38 -06:00
parent c488ab2076
commit 2160e087ce
2 changed files with 17 additions and 0 deletions

1
.env Normal file
View File

@@ -0,0 +1 @@
JWT_SECRET=cab2f6a968c2a11601bb33c41c5940b7

16
compose.yaml Normal file
View File

@@ -0,0 +1,16 @@
version: '3.9'
services:
go-nkode:
container_name: go-nkode
image: registry.donovankelly.dev/go-nkode
volumes:
- /var/go-nkode/sqlite:/app/data/sqlite
- /var/go-nkode/icons:/app/data/icons
# .env should contain JWT_SECRET
env_file:
- .env
ports:
- "8080:8080"