Fix build setup for the docker hub image https://hub.docker.com/r/dgtlmoon/changedetection.io
parent
b263773e09
commit
bbccb3181b
@ -1,26 +0,0 @@
|
||||
version: "2"
|
||||
services:
|
||||
|
||||
backend:
|
||||
build: .
|
||||
image: dgtlmoon/changedetection.io:0.1
|
||||
|
||||
container_name: changedetection.io
|
||||
volumes:
|
||||
- ./backend:/app
|
||||
- ./datastore:/datastore
|
||||
|
||||
# autoreload not working :(
|
||||
environment:
|
||||
- FLASK_ENV=development
|
||||
- PYTHONUNBUFFERED=1 #https://stackoverflow.com/questions/58701233/docker-logs-erroneously-appears-empty-until-container-stops
|
||||
ports:
|
||||
- "127.0.0.1:5000:5000"
|
||||
|
||||
networks:
|
||||
- changenet
|
||||
|
||||
restart: always
|
||||
|
||||
networks:
|
||||
changenet:
|
Loading…
Reference in new issue