Fix rules (#438)

* Fix network

* Fix migrations for table that no longer exist

* Document changed behavior
This commit is contained in:
Sung Won Cho 2020-03-29 09:43:42 +11:00 committed by GitHub
commit 6e690ea4da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 22 additions and 111 deletions

View file

@ -10,4 +10,4 @@ tarballName="dnote_server_${version}_linux_amd64.tar.gz"
# copy over the build artifact to the Docker build context
cp "$projectDir/build/server/$tarballName" "$dir"
docker build -t dnote/dnote:"$version" --build-arg tarballName="$tarballName" .
docker build --network=host -t dnote/dnote:"$version" --build-arg tarballName="$tarballName" .

View file

@ -12,7 +12,7 @@ services:
restart: always
dnote:
image: dnote/dnote
image: dnote/dnote:1.0.1
environment:
GO_ENV: PRODUCTION
DBSkipSSL: "true"
@ -22,6 +22,7 @@ services:
DBUser: dnote
DBPassword: dnote
WebURL: localhost:3000
OnPremise: "true"
SmtpHost:
SmtpPort:
SmtpUsername: