forked from pottava/aws-s3-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
35 lines (34 loc) · 854 Bytes
/
docker-compose.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
version: "2.1"
services:
app:
image: golang:1.11.4-alpine3.8
command: go run main.go
ports:
- 8080:80
volumes:
- .:/go/src/github.com/pottava/aws-s3-proxy
working_dir: /go/src/github.com/pottava/aws-s3-proxy
environment:
- AWS_REGION=ap-northeast-1
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_S3_BUCKET
- AWS_S3_KEY_PREFIX
- INDEX_DOCUMENT
- DIRECTORY_LISTINGS
- DIRECTORY_LISTINGS_FORMAT
- HTTP_CACHE_CONTROL
- HTTP_EXPIRES
- BASIC_AUTH_USER
- BASIC_AUTH_PASS
- SSL_CERT_PATH
- SSL_KEY_PATH
- CORS_ALLOW_ORIGIN
- CORS_ALLOW_METHODS
- CORS_ALLOW_HEADERS
- CORS_MAX_AGE
- ACCESS_LOG=true
- CONTENT_ENCODING
- HEALTHCHECK_PATH
- GET_ALL_PAGES_IN_DIR=true
container_name: app