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