forked from kiwitcms/Kiwi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.postgres
More file actions
38 lines (35 loc) · 879 Bytes
/
docker-compose.postgres
File metadata and controls
38 lines (35 loc) · 879 Bytes
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
version: '2'
services:
db:
container_name: kiwi_db
image: postgres:latest
volumes:
- db_data:/var/lib/postgresql/data
restart: always
environment:
POSTGRES_DB: kiwi
POSTGRES_USER: kiwi
POSTGRES_PASSWORD: kiwi
web:
container_name: kiwi_web
depends_on:
- db
restart: always
image: pub.kiwitcms.eu/kiwitcms/kiwi:latest
ports:
- 80:8080
- 443:8443
volumes:
- uploads:/Kiwi/uploads:Z
environment:
KIWI_DB_ENGINE: django.db.backends.postgresql
KIWI_DB_HOST: db
KIWI_DB_PORT: 5432
KIWI_DB_NAME: kiwi
KIWI_DB_USER: kiwi
KIWI_DB_PASSWORD: kiwi
cap_drop:
- ALL
volumes:
db_data:
uploads: