dnote/host/docker/docker-compose.yml
Sung Won Cho 6e690ea4da
Fix rules (#438)
* Fix network

* Fix migrations for table that no longer exist

* Document changed behavior
2020-03-29 09:43:42 +11:00

35 lines
698 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:1.0.1
environment:
GO_ENV: PRODUCTION
DBSkipSSL: "true"
DBHost: postgres
DBPort: 5432
DBName: dnote
DBUser: dnote
DBPassword: dnote
WebURL: localhost:3000
OnPremise: "true"
SmtpHost:
SmtpPort:
SmtpUsername:
SmtpPassword:
DisableRegistration: "false"
ports:
- 3000:3000
depends_on:
- postgres
restart: always