Updated docker configuration

This commit is contained in:
Eduard Urbach 2019-04-18 19:06:57 +09:00
parent 8a99e67370
commit 1a63d04e64
2 changed files with 7 additions and 4 deletions

View File

@ -11,4 +11,4 @@ RUN curl -s -o go.mod https://raw.githubusercontent.com/animenotifier/notify.moe
rm go.*
# Create empty working directory
WORKDIR /home/developer/notify.moe
WORKDIR /host

View File

@ -1,12 +1,15 @@
version: "3"
version: "3.4"
services:
notify.moe:
build: .
build:
context: .
network: host
image: animenotifier/notify.moe
stdin_open: true
tty: true
network_mode: host
ports:
- "80:4000"
- "443:4001"
volumes:
- .:/home/developer/notify.moe
- ~:/host