added docker compose

This commit is contained in:
z1glr
2025-02-04 20:57:48 +01:00
parent 3f9a190795
commit 3227073470
14 changed files with 140 additions and 48 deletions

25
compose.yaml Normal file
View File

@@ -0,0 +1,25 @@
services:
app:
image: z1glr/golunteer:latest
build: .
ports:
- 80:80
volumes:
- database:/usr/bin/app/data
- logs:/usr/bin/app/logs
- ./config.yaml:/usr/bin/app/config.yaml
restart: unless-stopped
volumes:
database:
driver: local
driver_opts:
type: none
device: "./data"
o: bind
logs:
driver: local
driver_opts:
type: none
device: "./logs"
o: bind