-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
66 lines (66 loc) · 1.96 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: "3.5"
services:
canteloupe:
image: "uclalibrary/cantaloupe:5.0.5-7"
ports:
- "8182:8182"
- "8183:8183"
environment:
- CANTALOUPE_ENDPOINT_ADMIN_SECRET=$CANTELOUPE_ADMIN_PASSWORD
- CANTALOUPE_ENDPOINT_ADMIN_ENABLED=$CANTELOUPE_ADMIN_ENABLED
- CANTALOUPE_SOURCE_STATIC=S3Source
- CANTALOUPE_S3SOURCE_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID
- CANTALOUPE_S3SOURCE_SECRET_KEY=$AWS_SECRET_ACCESS_KEY
- CANTALOUPE_S3SOURCE_BASICLOOKUPSTRATEGY_BUCKET_NAME=$AWS_BUCKET_NAME
- CANTALOUPE_S3SOURCE_REGION=$AWS_REGION
- CANTALOUPE_S3SOURCE_ENDPOINT=$S3_ENDPOINT
- JAVA_OPTS=$CANTELOUPE_JAVA_OPTS
iiif_cloud:
build: .
depends_on:
- db
- redis
ports:
- "8080:5000"
environment:
- DATABASE_HOST=$DATABASE_HOST
- DATABASE_PORT=$DATABASE_PORT
- DATABASE_USERNAME=$DATABASE_USERNAME
- DATABASE_PASSWORD=$DATABASE_PASSWORD
- DATABASE_NAME=$DATABASE_NAME
- IIIF_HOST=$IIIF_HOST
- IIIF_HOST_DOCKER=http://canteloupe:8182
- REDIS_URL=redis://redis:6379/1
- SIDEKIQ_CONCURRENCY=5
- AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY
- AWS_REGION=$AWS_REGION
- AWS_BUCKET_NAME=$AWS_BUCKET_NAME
- RAILS_SERVE_STATIC_FILES=true
- RAILS_LOG_TO_STDOUT=true
- RAILS_ENV=$RAILS_ENV
- HOSTNAME=$HOSTNAME
- SECRET_KEY_BASE=$SECRET_KEY_BASE
- STORAGE_SERVICE=$STORAGE_SERVICE
- S3_ENDPOINT=$S3_ENDPOINT
- S3_FORCE_PATH_STYLE=$S3_FORCE_PATH_STYLE
networks:
- default
- shared
db:
image: postgres:alpine
volumes:
- $DB_VOLUME:/var/lib/postgresql/data
ports:
- "54333:5432"
environment:
- POSTGRES_PASSWORD=$DATABASE_PASSWORD
- POSTGRES_USER=$DATABASE_USERNAME
- PGDATA=/var/lib/postgresql/data/pgdata
redis:
image: redis:alpine
ports:
- "6379:6379"
networks:
shared:
name: pssexternal