0.9.3.2-1: Update docker compose file
All checks were successful
File-uploader-crystal CI / build (push) Successful in 1m48s
All checks were successful
File-uploader-crystal CI / build (push) Successful in 1m48s
This commit is contained in:
parent
99c22095f9
commit
fdfa782e91
1 changed files with 6 additions and 1 deletions
|
@ -1,12 +1,17 @@
|
||||||
services:
|
services:
|
||||||
file-uploader:
|
file-uploader:
|
||||||
image: git.nadeko.net/fijxu/file-uploader-crystal:latest
|
image: git.nadeko.net/fijxu/file-uploader-crystal:latest
|
||||||
|
# This program should never use that many memory and more than 50% of the CPU
|
||||||
|
mem_limit: 512MB
|
||||||
|
cpus: 0.5
|
||||||
# If you want to use a custom config file, you can mount it here.
|
# If you want to use a custom config file, you can mount it here.
|
||||||
volumes:
|
volumes:
|
||||||
# - ./config/config.yml:/file-uploader-crystal/config/config.yml
|
# - ./config/config.yml:/file-uploader-crystal/config/config.yml
|
||||||
|
- ./public:/file-uploader-crystal/public
|
||||||
- ./files:/file-uploader-crystal/files
|
- ./files:/file-uploader-crystal/files
|
||||||
- ./thumbnails:/file-uploader-crystal/thumbnails
|
- ./thumbnails:/file-uploader-crystal/thumbnails
|
||||||
- ./db.sqlite3:/file-uploader-crystal/db.sqlite3
|
- ./db:/file-uploader-crystal/db
|
||||||
- ./torexitnodes.txt:/file-uploader-crystal/torexitnodes.txt
|
- ./torexitnodes.txt:/file-uploader-crystal/torexitnodes.txt
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:8080:8080
|
- 127.0.0.1:8080:8080
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue