forked from b310-digital/mindwendel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-kits.yml
41 lines (40 loc) · 1.04 KB
/
docker-compose-kits.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
version: "3"
services:
mindwendel:
container_name: mindwendel
image: kits/mindwendel
build:
context: .
target: app
environment:
DATABASE_USER: postgres
DATABASE_USER_PASSWORD: postgres
DATABASE_NAME: mindwendel
DATABASE_PORT: 5432
DATABASE_HOST: db
DATABASE_SSL: "true"
URL_HOST: localhost
# IMPORTANT: Change the secret key base - see readme
SECRET_KEY_BASE:
MW_DEFAULT_LOCALE: de
MW_FEATURE_BRAINSTORMING_TEASER: "false"
# Use the URL_PORT to change url generation behavior
# URL_PORT:
ports:
- "4000:4000"
depends_on:
- db
db:
image: postgres:latest
environment:
# IMPORTANT: Do not use these credentials in production. Please use other credentials when deploying this in production
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
PGDATA: /var/lib/postgresql/data/pgdata
restart: always
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
volumes:
pgdata: