Update Docker images and add pull_policy

This commit is contained in:
Andras Bacsai 2024-01-26 10:52:58 +01:00
parent 40af7aa025
commit 81df71416c
3 changed files with 13 additions and 2 deletions

View File

@ -78,7 +78,7 @@ jobs:
echo "VERSION=$(docker run --rm -v "$(pwd):/app" -w /app php:8.2-alpine3.16 php bootstrap/getVersion.php)"|xargs >> $GITHUB_OUTPUT echo "VERSION=$(docker run --rm -v "$(pwd):/app" -w /app php:8.2-alpine3.16 php bootstrap/getVersion.php)"|xargs >> $GITHUB_OUTPUT
- name: Create & publish manifest - name: Create & publish manifest
run: | run: |
docker buildx imagetools create --append ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.VERSION }}-aarch64 --tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.VERSION }} docker buildx imagetools create --append ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.VERSION }}-aarch64 --tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.VERSION }} --tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
- uses: sarisia/actions-status-discord@v1 - uses: sarisia/actions-status-discord@v1
if: always() if: always()
with: with:

View File

@ -22,6 +22,7 @@ services:
volumes: volumes:
- .:/var/www/html/:cached - .:/var/www/html/:cached
postgres: postgres:
pull_policy: always
ports: ports:
- "${FORWARD_DB_PORT:-5432}:5432" - "${FORWARD_DB_PORT:-5432}:5432"
env_file: env_file:
@ -35,6 +36,7 @@ services:
- /data/coolify/_volumes/database/:/var/lib/postgresql/data - /data/coolify/_volumes/database/:/var/lib/postgresql/data
# - coolify-pg-data-dev:/var/lib/postgresql/data # - coolify-pg-data-dev:/var/lib/postgresql/data
redis: redis:
pull_policy: always
ports: ports:
- "${FORWARD_REDIS_PORT:-6379}:6379" - "${FORWARD_REDIS_PORT:-6379}:6379"
env_file: env_file:
@ -54,6 +56,7 @@ services:
SOKETI_DEFAULT_APP_SECRET: "${PUSHER_APP_SECRET:-coolify}" SOKETI_DEFAULT_APP_SECRET: "${PUSHER_APP_SECRET:-coolify}"
vite: vite:
image: node:20 image: node:20
pull_policy: always
working_dir: /var/www/html working_dir: /var/www/html
# environment: # environment:
# VITE_PUSHER_APP_KEY: "${PUSHER_APP_KEY:-coolify}" # VITE_PUSHER_APP_KEY: "${PUSHER_APP_KEY:-coolify}"
@ -66,6 +69,7 @@ services:
- coolify - coolify
testing-host: testing-host:
image: "ghcr.io/coollabsio/coolify-testing-host:latest" image: "ghcr.io/coollabsio/coolify-testing-host:latest"
pull_policy: always
init: true init: true
container_name: coolify-testing-host container_name: coolify-testing-host
volumes: volumes:
@ -76,6 +80,7 @@ services:
- coolify - coolify
mailpit: mailpit:
image: "axllent/mailpit:latest" image: "axllent/mailpit:latest"
pull_policy: always
container_name: coolify-mail container_name: coolify-mail
ports: ports:
- "${FORWARD_MAILPIT_PORT:-1025}:1025" - "${FORWARD_MAILPIT_PORT:-1025}:1025"
@ -84,6 +89,7 @@ services:
- coolify - coolify
minio: minio:
image: minio/minio:latest image: minio/minio:latest
pull_policy: always
container_name: coolify-minio container_name: coolify-minio
command: server /data --console-address ":9001" command: server /data --console-address ":9001"
ports: ports:

View File

@ -3,12 +3,14 @@ services:
coolify-testing-host: coolify-testing-host:
init: true init: true
image: "ghcr.io/coollabsio/coolify-testing-host:latest" image: "ghcr.io/coollabsio/coolify-testing-host:latest"
pull_policy: always
container_name: coolify-testing-host container_name: coolify-testing-host
volumes: volumes:
- //var/run/docker.sock://var/run/docker.sock - //var/run/docker.sock://var/run/docker.sock
- ./:/data/coolify - ./:/data/coolify
coolify: coolify:
image: "ghcr.io/coollabsio/coolify:next" image: "ghcr.io/coollabsio/coolify:latest"
pull_policy: always
container_name: coolify container_name: coolify
restart: always restart: always
working_dir: /var/www/html working_dir: /var/www/html
@ -61,6 +63,7 @@ services:
condition: service_healthy condition: service_healthy
postgres: postgres:
image: postgres:15-alpine image: postgres:15-alpine
pull_policy: always
container_name: coolify-db container_name: coolify-db
restart: always restart: always
env_file: env_file:
@ -84,6 +87,7 @@ services:
timeout: 2s timeout: 2s
redis: redis:
image: redis:alpine image: redis:alpine
pull_policy: always
container_name: coolify-redis container_name: coolify-redis
restart: always restart: always
command: redis-server --save 20 1 --loglevel warning --requirepass ${REDIS_PASSWORD} command: redis-server --save 20 1 --loglevel warning --requirepass ${REDIS_PASSWORD}
@ -100,6 +104,7 @@ services:
timeout: 2s timeout: 2s
soketi: soketi:
image: 'quay.io/soketi/soketi:1.6-16-alpine' image: 'quay.io/soketi/soketi:1.6-16-alpine'
pull_policy: always
container_name: coolify-realtime container_name: coolify-realtime
restart: always restart: always
env_file: env_file: