-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (39 loc) · 1.01 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
version: '3'
services:
frab:
image: ghcr.io/frab/frab:latest
build: .
container_name: frab_app
volumes:
- data:/home/frab/app/public
ports:
- 3000:3000
networks:
- backend
environment:
- TZ=America/Los_Angeles
- SECRET_KEY_BASE=5fe64927bda359b186be52191c1ce3e5ef34827a
- DATABASE_URL=postgresql://frab:HWsJ54XvCOXyeSZhAQi9@db/frab
- FRAB_CURRENCY_UNIT='$$'
- FROM_EMAIL=frab@localhost
restart: always
depends_on:
- db
db:
image: postgres:9.5
container_name: frab_db
restart: always
volumes:
- db_data:/var/lib/postgresql/data
networks:
- backend
environment:
- TZ=America/Los_Angeles
- POSTGRES_USER=frab
- POSTGRES_PASSWORD=HWsJ54XvCOXyeSZhAQi9
- POSTGRES_DB=frab
networks:
backend:
volumes:
data: {}
db_data: {}