forked from antoinejaussoin/retro-board
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
80 lines (73 loc) · 2.24 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
version: '3'
services:
postgres:
image: postgres:11.6
hostname: postgres
environment:
# Only change the Database password below BEFORE running for the first time. Once the database
# is initialised, you can't change the password anymore.
# This password has to be the same as the DB_PASSWORD in the "backend" section below.
POSTGRES_PASSWORD: some-password
# -- Dot not modify --
POSTGRES_USER: postgres
POSTGRES_DB: retroboard
volumes:
- database:/var/lib/postgresql/data
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-size: '50m'
backend:
image: retrospected/backend:latest
depends_on:
- redis
environment:
LICENCE_KEY: # Your personal licence key
SELF_HOSTED_ADMIN: '[email protected]' # This is the user who is going to be admin on the self-hosted Retrospected instance.
DB_PASSWORD: some-password # Must be the same as POSTGRES_PASSWORD above
SESSION_SECRET: im-a-secret # This can be anything. You don't have to change this.
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-size: '50m'
pgadmin:
image: dpage/pgadmin4:4.15 # use biarms/pgadmin4 on ARM
depends_on:
- postgres
ports:
- '1801:80' # Change 1801 to whatever port you want to access pgAdmin from
environment:
PGADMIN_DEFAULT_EMAIL: '[email protected]' # This will give you access to PGAdmin to manage your database
PGADMIN_DEFAULT_PASSWORD: admin # Your default password. Change this if you want, but BEFORE running for the first time.
volumes:
- pgadmin:/var/lib/pgadmin
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-size: '50m'
frontend:
image: retrospected/frontend:latest
depends_on:
- backend
ports:
- '1800:80' # Change 1800 to whatever port you want to access Retrospected from
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-size: '50m'
redis:
image: redis:latest
depends_on:
- postgres
restart: unless-stopped
logging:
driver: 'json-file'
options:
max-size: '50m'
volumes:
database:
pgadmin: