feat: port old dockerfile definition
This commit is contained in:
parent
2d21e0c994
commit
b9ee458c11
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,3 +9,4 @@ nextcloud/nextcloud.env
|
||||
kodokanjudoeste/import/
|
||||
mezzotre/
|
||||
patrizio-bot/
|
||||
patrizio/data/
|
||||
|
||||
15
patrizio/docker-compose.yml
Normal file
15
patrizio/docker-compose.yml
Normal file
@ -0,0 +1,15 @@
|
||||
services:
|
||||
patrizio:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
restart: unless-stopped
|
||||
command: -f /data/ serve
|
||||
volumes:
|
||||
- ./data:/data:rw
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
mode: "non-blocking"
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
Loading…
x
Reference in New Issue
Block a user