radn-dev/docker-compose.yml
2023-06-16 21:08:03 +00:00

74 lines
1.6 KiB
YAML

networks:
radn: {}
v6d:
external: true
volumes:
radn-rs: {}
book-monads: {}
book-radn: {}
services:
radn-rs-dev:
container_name: radn-rs-dev
build: radn-rs
volumes:
- radn-rs:/code/
networks:
radn: {}
tty: true
stop_signal: SIGKILL
radn-rs-dd:
container_name: radn-rs-dd
build:
context: radn-rs
dockerfile: Dockerfile.Docs
volumes:
- radn-rs:/code/:ro
networks:
radn: {}
book-monads:
container_name: book-monads
build:
context: radn-rs
dockerfile: Dockerfile.Book.Monads
environment:
MDBOOK_OUTPUT__HTML__GIT_REPOSITORY_URL: "https://gitea.parrrate.ru/PTV/book-monads"
MDBOOK_OUTPUT__HTML__EDIT_URL_TEMPLATE: "https://gitea.parrrate.ru/PTV/book-monads/_edit/latest/{path}"
volumes:
- radn-rs:/code/:ro
- book-monads:/data/book/:rw
networks:
radn: {}
tty: true
stop_signal: SIGKILL
book-radn:
container_name: book-radn
build:
context: radn-rs
dockerfile: Dockerfile.Book.RADN
environment:
MDBOOK_OUTPUT__HTML__GIT_REPOSITORY_URL: "https://gitea.parrrate.ru/PTV/book-radn"
MDBOOK_OUTPUT__HTML__EDIT_URL_TEMPLATE: "https://gitea.parrrate.ru/PTV/book-radn/_edit/latest/{path}"
volumes:
- radn-rs:/code/:ro
- book-radn:/data/book/:rw
networks:
radn: {}
tty: true
stop_signal: SIGKILL
nginx:
container_name: radn-nginx
build:
context: .
dockerfile: Dockerfile.Nginx
networks:
radn: {}
v6d: {}
metrics:
container_name: radn-metrics
build:
context: metrics
tty: true
stop_signal: SIGKILL