mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-29 09:43:16 +00:00
comment build steps out to use remote image
This commit is contained in:
parent
d876533991
commit
2e2ffc5519
1 changed files with 8 additions and 8 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue