1
0
Fork 0

use upstream Docker images over self-built

This commit is contained in:
Christian Winther 2024-01-05 23:41:33 +00:00
parent a25b7910b2
commit a8c5585e19
1 changed files with 8 additions and 8 deletions

View File

@ -4,10 +4,10 @@ version: "3"
services: services:
web: web:
image: "${DOCKER_IMAGE}:${DOCKER_TAG}" image: "${DOCKER_IMAGE}:${DOCKER_TAG}"
build: # build:
context: ../.. # context: ../..
dockerfile: contrib/docker/Dockerfile # dockerfile: contrib/docker/Dockerfile
target: apache-runtime # target: apache-runtime
restart: unless-stopped restart: unless-stopped
env_file: env_file:
- "./.env" - "./.env"
@ -23,10 +23,10 @@ services:
worker: worker:
image: "${DOCKER_IMAGE}:${DOCKER_TAG}" image: "${DOCKER_IMAGE}:${DOCKER_TAG}"
build: # build:
context: ../.. # context: ../..
dockerfile: contrib/docker/Dockerfile # dockerfile: contrib/docker/Dockerfile
target: apache-runtime # target: apache-runtime
command: gosu www-data php artisan horizon command: gosu www-data php artisan horizon
restart: unless-stopped restart: unless-stopped
env_file: env_file: