docker-compose.yml -rw-r--r-- 1 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
16 - AWS_SECRET_ACCESS_KEY
17 - AWS_DEFAULT_REGION
18 - LFS_ENCRYPTION_KEY
19 - LFS_S3_BUCKET
20 - LFS_MAX_CACHE_SIZE
21 entrypoint:
22 - /tini
23 - --
24 - /rudolfs
25 - --cache-dir
26 - /data
27 - --key
28 - ${LFS_ENCRYPTION_KEY}
29 - --max-cache-size
30 - ${LFS_MAX_CACHE_SIZE}
31 - s3
32 - --bucket
33 - ${LFS_S3_BUCKET}
34
35 # A real production server should use nginx. How to configure this depends on
36 # your needs. Use your Google-search skills to configure this correctly.
37 #
38 # nginx:
39 # image: nginx:stable
40 # ports:
41 # - 80:80
42 # - 443:443
43 # volumes:
44 # - ./nginx.conf:/etc/nginx/nginx.conf
45 # - ./nginx/errors.log:/etc/nginx/errors.log
46
47
48volumes:
49 data: