forked from flemay/3musketeers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
51 lines (47 loc) · 1.18 KB
/
docker-compose.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
40
41
42
43
44
45
46
47
48
49
50
51
# node:alpine is not used because the plugin-last-updated uses `git` and alpine
# does not have it.
version: '3.7'
services:
# node_dev is for running vuepress for development
node_dev:
image: node
volumes:
- type: bind
source: .
target: /opt/app
working_dir: /opt/app
ports:
# this maps the port 8080 so that it can be accessible from a local browser.
# For CI/CD tool, mapping port should be avoided since it can create port conflict.
# This is the reason the service `node` exists.
- "8080:8080"
command: ./scripts/dev.sh
env_file: .env
node:
image: node
volumes:
- type: bind
source: .
target: /opt/app
working_dir: /opt/app
command: ./scripts/dev.sh
env_file: .env
testcafe:
image: testcafe/testcafe
volumes:
- type: bind
source: .
target: /opt/app
working_dir: /opt/app
entrypoint: sh
env_file: .env
dockerize:
image: jwilder/dockerize
shellcheck:
image: koalaman/shellcheck:latest
network_mode: none
volumes:
- type: bind
source: ./scripts
target: /opt/app/scripts
working_dir: /opt/app