dnote/host/docker/docker-compose.yml
Sung Won Cho b5630adc88
Fix ratelimit (#321)
* Allow to synchronize large number of records

* Fix link

* Unexport

* Fix docker
2019-11-19 12:52:47 +08:00

33 lines
633 B
YAML

version: "3"
services:
postgres:
image: postgres:11-alpine
environment:
POSTGRES_USER: dnote
POSTGRES_PASSWORD: dnote
POSTGRES_DB: dnote
volumes:
- ./dnote_data:/var/lib/postgresql/data
restart: always
dnote:
image: dnote/dnote
environment:
GO_ENV: PRODUCTION
DBSkipSSL: "true"
DBHost: postgres
DBPort: 5432
DBName: dnote
DBUser: dnote
DBPassword: dnote
WebURL: localhost:3000
SmtpHost:
SmtpPort:
SmtpUsername:
SmtpPassword:
ports:
- 3000:3000
depends_on:
- postgres
restart: always