-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
98 lines (92 loc) · 1.9 KB
/
docker-compose.yml
File metadata and controls
98 lines (92 loc) · 1.9 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
services:
app:
build:
context: .
target: development
# platform: linux/amd64
env_file:
- .env
depends_on:
- db
- iipsrv
- selenium
environment: &app-environment
LIT_LENDING_ROOT: spec/data/lending
LIT_IIIF_BASE_URL: http://iipsrv.test/iiif/
init: true
networks:
default:
aliases:
- app.test
volumes:
- .:/opt/app
- ./app/assets/builds:/opt/app/app/assets/builds
ports:
- 3000:3000
restart: always
command: ./bin/dev
# Uncomment this to build and run a ucbears-collector container
#
# ucbears-collector:
# build:
# context: .
# target: development
# environment:
# LIT_LENDING_ROOT: /ucbears
# LIT_LENDING_COLLECTOR_STOP_FILE: collector-dev.stop
# VIPS_DISC_THRESHOLD: 1g
# ports: []
# command: bin/lending/collect.rb
# restart: "no"
# volumes:
# - ./spec/data/lending:/ucbears
db:
environment:
POSTGRES_PASSWORD: root
POSTGRES_USER: root
image: postgres:12.2
networks:
default:
aliases:
- db.test
restart: always
ports:
- 5432:5432
volumes:
- postgres_data:/var/lib/postgresql/data
- ./:/build:rw
iipsrv:
image: ghcr.io/berkeleylibrary/iipsrv:latest
init: true
environment:
- VERBOSITY=6
- LOGFILE=/dev/stdout
- FILESYSTEM_PREFIX=/iipsrv-data/
- CORS=*
volumes:
- ./iipsrv-data:/iipsrv-data:ro
ports:
- 80:80
networks:
default:
aliases:
- iipsrv.test
selenium:
image: selenium/standalone-chromium
networks:
default:
aliases:
- selenium.test
ports:
- 4444:4444
- 7900:7900
shm_size: 512mb
volumes:
- ./:/build:rw
adminer:
image: adminer
restart: always
ports:
- 8080:8080
volumes:
postgres_data: { }