-
-
Notifications
You must be signed in to change notification settings - Fork 359
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (32 loc) · 767 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (32 loc) · 767 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
version: "3.1"
services:
peppermint_postgres:
container_name: peppermint_postgres
image: postgres:latest
restart: always
volumes:
- pgdata_live:/var/lib/postgresql/data
environment:
POSTGRES_USER: peppermint
POSTGRES_PASSWORD: 12345
POSTGRES_DB: peppermint
peppermint:
container_name: peppermint
image: pepperlabs/peppermint:latest
ports:
- 1000:3000
- 1001:5003
# If running via Docker on a hypervisor, enable DNS.
# dns:
# - 1.1.1.1
# - 8.8.8.8
restart: always
depends_on:
- peppermint_postgres
environment:
DB_USERNAME: "peppermint"
DB_PASSWORD: "12345"
DB_HOST: "peppermint_postgres"
SECRET: 'peppermint4life'
volumes:
pgdata_live: