1
0
Fork 0

comment build steps out to use remote image

This commit is contained in:
Christian Winther 2024-01-05 17:31:34 +00:00
parent d876533991
commit 2e2ffc5519
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: