-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
69 lines (66 loc) · 1.21 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
x-service-default-base: &default-base
build:
args:
GID: ${GID:-0}
UID: ${UID:-0}
context: Dockerfile.d/default
command:
- zsh
- --login
- -c
- |
sleep infinity
init: true
user: ${UID:-0}:${GID:-0}
volumes:
- .:/workspace
working_dir: /workspace
services:
client:
<<: *default-base
command:
- zsh
- --login
- -c
- |
sleep infinity
working_dir: /workspace/client
server-0.9:
<<: *default-base
command:
- zsh
- --login
- -c
- |
black .
autoflake --in-place --remove-unused-variables .
python3 server.py
working_dir: /workspace/server-0.9
# for Prettier Code Formatter
workspace:
build:
args:
GID: ${GID:-0}
UID: ${UID:-0}
context: Dockerfile.d/workspace
command:
- zsh
- --login
- -c
- |
npm-check-updates --upgrade
npm install
npm audit fix
sort-package-json
sleep infinity
init: true
user: ${UID:-0}:${GID:-0}
volumes:
- .:/workspace
working_dir: /workspace
version: "3.9"
volumes:
home-developer:
driver: local
home-root:
driver: local