forked from eatvio/eatvio-infra
feat(jpegoptim): added new apt package jpegoptim
This commit is contained in:
@@ -15,8 +15,7 @@ services:
|
||||
- "${SOKETI_PORT:-6001}:6001"
|
||||
- "${SOKETI_METRICS_SERVER_PORT:-9601}:9601"
|
||||
networks:
|
||||
ns-eatvio:
|
||||
ipv4_address: 172.118.0.5
|
||||
- ns-eatvio
|
||||
labels:
|
||||
- "traefik.enable=false"
|
||||
restart: always
|
||||
@@ -25,8 +24,7 @@ services:
|
||||
image: "mysql:8.0"
|
||||
working_dir: /application
|
||||
networks:
|
||||
ns-eatvio:
|
||||
ipv4_address: 172.118.0.3
|
||||
- ns-eatvio
|
||||
volumes:
|
||||
- ".:/application"
|
||||
- "./mysql_data:/var/lib/mysql"
|
||||
@@ -49,8 +47,7 @@ services:
|
||||
depends_on:
|
||||
- mysql
|
||||
networks:
|
||||
ns-eatvio:
|
||||
ipv4_address: 172.118.0.2
|
||||
- ns-eatvio
|
||||
volumes:
|
||||
- "./app:/application"
|
||||
- "./phpdocker/php-fpm/php-ini-overrides.ini:/etc/php/8.2/fpm/conf.d/99-overrides.ini"
|
||||
@@ -104,32 +101,34 @@ services:
|
||||
volumes:
|
||||
- "./app:/application"
|
||||
- "./phpdocker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf"
|
||||
- "./phpdocker/nginx/alex.eatvio.local+4.pem:/etc/nginx/alex.eatvio.local+4.pem"
|
||||
- "./phpdocker/nginx/alex.eatvio.local+4-key.pem:/etc/nginx/alex.eatvio.local+4-key.pem"
|
||||
- "./phpdocker/nginx/socket.alex.eatvio.local+4.pem:/etc/nginx/socket.alex.eatvio.local+4.pem"
|
||||
- "./phpdocker/nginx/socket.alex.eatvio.local+4-key.pem:/etc/nginx/socket.alex.eatvio.local+4-key.pem"
|
||||
ports:
|
||||
- "1092:80"
|
||||
- "10443:5000"
|
||||
networks:
|
||||
- web
|
||||
- ns-eatvio
|
||||
labels:
|
||||
- "traefik.docker.network=web"
|
||||
- "traefik.enable=true"
|
||||
- "traefik.frontend.rule=Host:dev2.eatvio.com,socket.eatvio.com"
|
||||
- "traefik.port=80"
|
||||
- "traefik.protocol=http"
|
||||
|
||||
mailhog:
|
||||
image: "mailhog/mailhog"
|
||||
ports:
|
||||
- "8082:8025"
|
||||
networks:
|
||||
ns-eatvio:
|
||||
ipv4_address: 172.118.0.4
|
||||
- ns-eatvio
|
||||
|
||||
typesense:
|
||||
image: typesense/typesense:26.0
|
||||
restart: on-failure
|
||||
expose:
|
||||
- 8108
|
||||
ports:
|
||||
- 8108:8108
|
||||
networks:
|
||||
ns-eatvio:
|
||||
ipv4_address: 172.118.0.6
|
||||
- ns-eatvio
|
||||
- web
|
||||
volumes:
|
||||
- ./typesense-data:/data
|
||||
command: "--data-dir /data --api-key=typesense --enable-cors"
|
||||
|
||||
@@ -19,18 +19,12 @@ RUN apt-get update && \
|
||||
apt-get clean; \
|
||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
|
||||
|
||||
# RUN curl -fsSLO "$SUPERCRONIC_URL" \
|
||||
# && echo "${SUPERCRONIC_SHA1SUM} ${SUPERCRONIC}" | sha1sum -c - \
|
||||
# && chmod +x "$SUPERCRONIC" \
|
||||
# && mv "$SUPERCRONIC" "/usr/local/bin/${SUPERCRONIC}" \
|
||||
# && ln -s "/usr/local/bin/${SUPERCRONIC}" /usr/local/bin/supercronic
|
||||
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y ffmpeg && \
|
||||
apt-get install -y \
|
||||
ffmpeg \
|
||||
jpegoptim && \
|
||||
apt-get clean; \
|
||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
|
||||
|
||||
ENV PATH=node_modules/.bin:$PATH
|
||||
|
||||
# CMD ["supercronic", "/application/crontab"]
|
||||
|
||||
@@ -7,3 +7,10 @@ RUN apt-get update && \
|
||||
python3-pkg-resources supervisor && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y \
|
||||
ffmpeg \
|
||||
jpegoptim && \
|
||||
apt-get clean; \
|
||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
|
||||
|
||||
Reference in New Issue
Block a user