Files
remark42/site/docker-compose.yml
T
Dmitry VerkhoturovandUmputun 3eccf01f1f bump docker-compose.yml for the site to work with dev properly
Previously, an image built for the `build` service was then used
for `server`, and changes were invisible to the user
before the container rebuild.

After that change, the useless static `build` service is deleted,
Dockerfile is only used in the CI pipeline, and only the `server`
service is left in docker-compose for the user to test
and see documentation changes locally in real-time.

Resolves #1178
2022-10-02 23:52:19 -05:00

23 lines
370 B
YAML

version: '2'
services:
# Runs dev env for the site
server:
image: remark42-site:dev
build:
dockerfile: Dockerfile.dev
context: .
logging:
driver: json-file
options:
max-size: '10m'
max-file: '5'
ports:
- '3001:3001'
- '8080:8080'
volumes:
- ./src:/site/src
- ./build:/site/build