forked from common-voice/sentence-collector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
36 lines (33 loc) · 918 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
36
version: '3'
services:
db:
image: postgres
environment:
- POSTGRES_USER
- POSTGRES_PASSWORD
networks:
- backend-net
cache:
image: library/memcached
networks:
- backend-net
web:
image: kinto/kinto-server
depends_on:
- db
- cache
ports:
- "8888:8888"
environment:
- KINTO_CACHE_BACKEND=kinto.core.cache.memcached
- KINTO_CACHE_HOSTS=cache:11211 cache:11212
- KINTO_STORAGE_BACKEND=kinto.core.storage.postgresql
- KINTO_STORAGE_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db/postgres
- KINTO_PERMISSION_BACKEND=kinto.core.permission.postgresql
- KINTO_PERMISSION_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db/postgres
- KINTO_INCLUDES=kinto.plugins.admin kinto.plugins.flush kinto.plugins.accounts
networks:
- backend-net
networks:
backend-net:
driver: bridge