1
0
mirror of https://github.com/daniviga/bite.git synced 2024-11-25 06:16:13 +01:00

Compare commits

..

No commits in common. "f120fac87804a1bdeb3c2a06b93eb1d1fd4dfcc0" and "4690421437ceeaf34b8d3c03f8788490bba320e6" have entirely different histories.

3 changed files with 5 additions and 6 deletions

View File

@ -39,7 +39,7 @@ services:
networks: networks:
- net - net
ports: ports:
- "${CUSTOM_DOCKER_IP:-0.0.0.0}:1230:123/udp" # PORT 123 CAN BE USED WHEN RUNNING AS PRIVILEGED USER - "${CUSTOM_DOCKER_IP:-0.0.0.0}:123:123/udp"
timescale: timescale:
<<: *service_default <<: *service_default
@ -68,11 +68,11 @@ services:
environment: environment:
NGINX_ENTRYPOINT_QUIET_LOGS: 1 NGINX_ENTRYPOINT_QUIET_LOGS: 1
ports: ports:
- "${CUSTOM_DOCKER_IP:-0.0.0.0}:8080:80" # PORT 80 CAN BE USED WHEN RUNNING AS PRIVILEGED USER - "${CUSTOM_DOCKER_IP:-0.0.0.0}:80:80"
networks: networks:
- net - net
volumes: volumes:
- "staticdata:/srv/appdata/bite/static:U" # REMOVE ':U' ON MOBY/DOCKER - "staticdata:/srv/appdata/bite/static:U"
- "./ingress/nginx.conf:/etc/nginx/nginx.conf" - "./ingress/nginx.conf:/etc/nginx/nginx.conf"
@ -101,7 +101,7 @@ services:
static-files: static-files:
image: daniviga/bite image: daniviga/bite
volumes: volumes:
- "staticdata:/srv/appdata/bite/static:U" # REMOVE ':U' ON MOBY/DOCKER - "staticdata:/srv/appdata/bite/static:U"
command: ["python3", "manage.py", "collectstatic", "--noinput"] command: ["python3", "manage.py", "collectstatic", "--noinput"]
mqtt-to-db: mqtt-to-db:

View File

@ -17,7 +17,7 @@
# You should have received a copy of the GNU Affero General Public License # You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
FROM alpine:3.15 FROM alpine:3.12
RUN apk update && apk add chrony && \ RUN apk update && apk add chrony && \
chown -R chrony:chrony /var/lib/chrony chown -R chrony:chrony /var/lib/chrony

View File

@ -1,4 +1,3 @@
pytz
Django Django
djangorestframework djangorestframework
django-health-check django-health-check