-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (51 loc) · 1.02 KB
/
docker-compose.yml
File metadata and controls
55 lines (51 loc) · 1.02 KB
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
version: "3.9"
services:
mysql:
image: mysql:8
container_name: notte-mysql
ports:
- "3306:3306"
environment:
MYSQL_DATABASE: notte
MYSQL_USER: notte
MYSQL_PASSWORD: notte
MYSQL_ROOT_PASSWORD: notte
volumes:
- mysql:/var/lib/mysql
user:
build:
context: docker/node-18
args:
UID: $HOST_UID
GID: $HOST_GID
container_name: notte-user
command: sh -c "bin/migrate && npm run start:dev"
env_file:
- ./services/user/dev.env
ports:
- "3000:3000"
working_dir: /home/node/app
volumes:
- ./services/user:/home/node/app
depends_on:
- mysql
auth:
build:
context: docker/deno-1.36
args:
UID: $HOST_UID
GID: $HOST_GID
container_name: notte-auth
ports:
- "3001:3001"
env_file:
- ./services/auth/dev.env
volumes:
- ./services/auth:/home/deno/app
- deno:/deno-dir
command: bash
tty: true
stdin_open: true
volumes:
mysql:
deno: