Merge pull request 'add compose' (#2) from AddDockerCompose into main

Reviewed-on: https://gitea.donovankelly.dev/dkelly/go-nkode/pulls/2
This commit is contained in:
dkelly
2024-11-20 22:54:05 +00:00
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"