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:
16
compose.yaml
Normal file
16
compose.yaml
Normal 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"
|
||||||
Reference in New Issue
Block a user