docs/docker-compose.yml
surtur 4bc2650892
All checks were successful
continuous-integration/drone/push Build is passing
ci: add a deploy step using docker-compose
docs image is built JIT from Dockerfile.
the logic for the compose file is based on the one used in
https://git.dotya.ml/dotya.ml/homepage yet the traefik part was not
used.
2021-07-24 15:17:32 +02:00

22 lines
345 B
YAML

version: '3'
services:
docs:
build:
context: .
image: docs
networks:
- default
restart: always
ports:
- 127.0.0.1:1315:80
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
logging:
driver: json-file
options:
max-size: "5m"
max-file: "5"
networks:
default: