forked from linode/manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
storybook-test.yml
39 lines (39 loc) · 1003 Bytes
/
storybook-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: '3.1'
services:
selenium:
image: selenium/standalone-chrome:3.141.59-gold
volumes:
- /dev/shm:/dev/shm #Mitigates the Chromium issue described at https://code.google.com/p/chromium/issues/detail?id=519952
networks:
- backend
manager-storybook:
container_name: manager_storybook
build:
context: .
dockerfile: Dockerfile
volumes:
- ./src/components:/src/src/components
entrypoint: yarn storybook
depends_on:
- selenium
networks:
- backend
storybook-test:
container_name: storybook_test
environment:
- DOCKER=true
build:
context: .
dockerfile: Dockerfile
volumes:
- ./src/components:/src/src/components
- ./storybook-test-results:/src/storybook-test-results
- /etc/passwd:/etc/passwd
- /etc/group:/etc/group
entrypoint: ["./scripts/storybook_entrypoint.sh"]
depends_on:
- manager-storybook
networks:
- backend
networks:
backend: