surtur
4bc2650892
All checks were successful
continuous-integration/drone/push Build is passing
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.
22 lines
345 B
YAML
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:
|