forked from getfider/fider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocal.yaml
45 lines (41 loc) · 1 KB
/
local.yaml
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
version: '3'
volumes:
fider_local_postgres_data: {}
services:
fider:
build:
context: .
dockerfile: Dockerfile
image: fider_local
container_name: fider_local
depends_on:
- postgres
- mailhog
environment:
ENVIRONMENT: dev
BASE_URL: http://127.0.0.1:8080/
DATABASE_URL: postgres://fider:s0m3g00dp4ssw0rd@postgres:5432/fider?sslmode=disable
JWT_SECRET: VERY_STRONG_SECRET_SHOULD_BE_USED_HERE
EMAIL_NOREPLY: horuki@higachi.cc
EMAIL_SMTP_HOST: mailhog
EMAIL_SMTP_PORT: 1025
ports:
- "8080:3000"
postgres:
image: postgres:latest
container_name: fider_local_postgres
volumes:
- fider_local_postgres_data:/var/lib/postgresql/data
environment:
POSTGRES_USER: fider
POSTGRES_PASSWORD: s0m3g00dp4ssw0rd
ports:
- "5432:5432"
mailhog:
image: mailhog/mailhog
container_name: fider_local_mailhog
logging:
driver: 'none'
ports:
- "1025:1025"
- "8025:8025"