Specify docker images versions

Fix unquoted sentences
This commit is contained in:
Sajjad 2021-10-03 11:12:53 +03:30
parent b919f5b1e9
commit f036e2b2a3
3 changed files with 10 additions and 10 deletions

View file

@ -1,5 +1,5 @@
FROM ubuntu:focal FROM ubuntu:20.04
LABEL maintainer Brady Wetherington <bwetherington@grokability.com> LABEL maintainer="Brady Wetherington <bwetherington@grokability.com>"
# No need to add `apt-get clean` here, reference: # No need to add `apt-get clean` here, reference:
# - https://github.com/snipe/snipe-it/pull/9201 # - https://github.com/snipe/snipe-it/pull/9201
@ -133,4 +133,4 @@ RUN chmod +x /startup.sh /usr/bin/supervisor-exit-event-listener
CMD ["/startup.sh"] CMD ["/startup.sh"]
EXPOSE 80 EXPOSE 80
EXPOSE 443 EXPOSE 443

View file

@ -1,4 +1,4 @@
FROM alpine:3 FROM alpine:3.14.2
# Apache + PHP # Apache + PHP
RUN apk add --no-cache \ RUN apk add --no-cache \
apache2 \ apache2 \
@ -82,4 +82,4 @@ ENTRYPOINT ["/sbin/tini", "--"]
CMD ["/entrypoint.sh"] CMD ["/entrypoint.sh"]
EXPOSE 80 EXPOSE 80

View file

@ -7,7 +7,7 @@ services:
dockerfile: Dockerfile.alpine dockerfile: Dockerfile.alpine
container_name: snipeit container_name: snipeit
ports: ports:
- 8000:80 - "8000:80"
volumes: volumes:
- ./logs:/var/www/html/storage/logs - ./logs:/var/www/html/storage/logs
depends_on: depends_on:
@ -19,7 +19,7 @@ services:
- snipeit-backend - snipeit-backend
mariadb: mariadb:
image: mariadb:latest image: mariadb:10.6.4-focal
volumes: volumes:
- db:/var/lib/mysql - db:/var/lib/mysql
env_file: env_file:
@ -28,15 +28,15 @@ services:
- snipeit-backend - snipeit-backend
redis: redis:
image: redis:latest image: redis:6.2.5-buster
networks: networks:
- snipeit-backend - snipeit-backend
mailhog: mailhog:
image: mailhog/mailhog:latest image: mailhog/mailhog:v1.0.1
ports: ports:
# - 1025:1025 # - 1025:1025
- 8025:8025 - "8025:8025"
networks: networks:
- snipeit-backend - snipeit-backend