docker-compose.yml -rw-r--r-- 1.2 KiB
1# Copy this file to another location and modify as necessary.
2version: '3'
3services:
4 app:
5 image: jasonwhite0/rudolfs:latest
6 #build:
7 # context: .
8 # dockerfile: Dockerfile
9 ports:
10 - "8081:8080"
11 volumes:
12 - data:/data
13 restart: always
14 environment:
15 - AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
16 - AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
17 - AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION}
18 - LFS_ENCRYPTION_KEY=${LFS_ENCRYPTION_KEY}
19 - LFS_S3_BUCKET=${LFS_S3_BUCKET}
20 - LFS_MAX_CACHE_SIZE=${LFS_MAX_CACHE_SIZE}
21 entrypoint:
22 - /tini
23 - --
24 - /rudolfs
25 - --cache-dir
26 - /data
27 - --key
28 - ${LFS_ENCRYPTION_KEY}
29 - --s3-bucket
30 - ${LFS_S3_BUCKET}
31 - --max-cache-size
32 - ${LFS_MAX_CACHE_SIZE}
33
34 # A real production server should use nginx. How to configure this depends on
35 # your needs. Use your Google-search skills to configure this correctly.
36 #
37 # nginx:
38 # image: nginx:stable
39 # ports:
40 # - 80:80
41 # - 443:443
42 # volumes:
43 # - ./nginx.conf:/etc/nginx/nginx.conf
44 # - ./nginx/errors.log:/etc/nginx/errors.log
45
46
47volumes:
48 data: