19 lines
635 B
YAML
19 lines
635 B
YAML
# Local development overrides.
|
|||
|
|
# Compose merges this file on top of docker-compose.yml automatically, so a
|
||
|
|
# plain `docker compose up` builds from source instead of pulling a registry image:
|
||
|
|
#
|
||
|
|
# docker compose up --build # build locally and run
|
||
|
|
# docker compose up -d # reuse the last local build
|
||
|
|
#
|
||
|
|
# It reuses the `image:` name from the base file, so the local build is tagged
|
||
|
|
# the same way the production image would be.
|
||
|
|
services:
|
||
|
|
website:
|
||
|
|
image: ${IMAGE_NAME}:${IMAGE_TAG:-latest}
|
||
|
|
platform: linux/arm64
|
||
|
|
build:
|
||
|
|
context: .
|
||
|
|
dockerfile: Dockerfile
|
||
|
|
environment:
|
||
|
|
LOG_LEVEL: debug
|