2023-11-01 16:38:55 +01:00
|
|
|
x-svc: &service
|
|
|
|
env_file:
|
|
|
|
- "run/env/service.env"
|
|
|
|
volumes:
|
|
|
|
- conf:/wmsa/conf:ro
|
|
|
|
- data:/wmsa/data
|
|
|
|
- logs:/var/log/wmsa
|
|
|
|
networks:
|
|
|
|
- wmsa
|
|
|
|
services:
|
|
|
|
screenshot-capture-tool:
|
|
|
|
<<: *service
|
2023-11-16 21:12:55 +01:00
|
|
|
image: "marginalia/screenshot-capture-tool"
|
2023-11-01 16:38:55 +01:00
|
|
|
container_name: "screenshot-capture-tool"
|
|
|
|
networks:
|
|
|
|
- wmsa
|
|
|
|
- headlesschrome
|
|
|
|
depends_on:
|
|
|
|
- browserless
|
|
|
|
browserless:
|
|
|
|
<<: *service
|
|
|
|
image: "browserless/chrome"
|
|
|
|
container_name: "headlesschrome"
|
|
|
|
env_file:
|
|
|
|
- "run/env/browserless.env"
|
|
|
|
ports:
|
|
|
|
- "3000:3000"
|
|
|
|
networks:
|
|
|
|
- wmsa
|
|
|
|
- headlesschrome
|
|
|
|
|
|
|
|
networks:
|
|
|
|
wmsa:
|
|
|
|
headlesschrome:
|
|
|
|
volumes:
|
|
|
|
logs:
|
|
|
|
driver: local
|
|
|
|
driver_opts:
|
|
|
|
type: none
|
|
|
|
o: bind
|
|
|
|
device: run/logs
|
|
|
|
conf:
|
|
|
|
driver: local
|
|
|
|
driver_opts:
|
|
|
|
type: none
|
|
|
|
o: bind
|
|
|
|
device: run/conf
|
|
|
|
data:
|
|
|
|
driver: local
|
|
|
|
driver_opts:
|
|
|
|
type: none
|
|
|
|
o: bind
|
|
|
|
device: run/data
|