forked from presnick/RunestoneServer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
35 lines (32 loc) · 907 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: '3'
services:
db:
image: postgres
environment:
POSTGRES_PASSWORD: 'runestone'
POSTGRES_USER: 'runestone'
POSTGRES_DB: 'runestone'
redis:
image: redis
runestone:
image: runestone/server
restart: always
#command: tail -F peanutbutter
volumes:
- ./:/srv/web2py/applications/runestone
links:
- db
- redis
ports:
- "80:80"
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}'