forked from RunestoneInteractive/RunestoneServer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (41 loc) · 1.12 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
version: '3'
services:
db:
image: postgres:11
environment:
POSTGRES_PASSWORD: 'runestone'
POSTGRES_USER: 'runestone'
POSTGRES_DB: 'runestone'
redis:
image: redis
jobe:
image: runestone/jobeinabox
build: ./jobeinabox/
volumes:
- ./jobeinabox/files:/usr/local/lib/java
runestone:
image: runestone/server
restart: always
#command: tail -F peanutbutter
volumes:
- ./:/srv/web2py/applications/runestone
links:
- db
- redis
- jobe
ports:
- "80:80"
- "443:443"
environment:
POSTGRES_PASSWORD: 'runestone'
POSTGRES_USER: 'runestone'
POSTGRES_DB: 'runestone'
WEB2PY_CONFIG: 'development'
WEB2PY_MIGRATE: 'Yes'
DBURL: 'postgresql://runestone:${POSTGRES_PASSWORD}@db/runestone'
DEV_DBURL: 'postgresql://runestone:${POSTGRES_PASSWORD}@db/runestone'
TEST_DBURL: 'postgresql://runestone:${POSTGRES_PASSWORD}@db/runestone_test'
REDIS_URI: 'redis://redis:6379/0'
RUNESTONE_HOST: '${RUNESTONE_HOST}'
CERTBOT_EMAIL: '${CERTBOT_EMAIL}'
BUILD_BOOKS: '${BUILD_BOOKS}'