-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dev.yml
55 lines (50 loc) · 1.03 KB
/
docker-compose-dev.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
version: '3.4'
services:
wsrn:
init: true
restart: unless-stopped
env_file:
- .env.local
build:
context: .
dockerfile: ./Dockerfile.dev
command: /bin/sh -c "npx prisma generate && npm run dev"
volumes:
- .:/app
- ./data/images:/usr/src/app/public
environment:
NODE_ENV: development
ports:
- 3000:3000
- 9229:9229
- 5555:5555
networks:
- internal
db:
image: mariadb:10.7
ports:
- 3306:3306
env_file:
- .env.local
volumes:
- ./mock_sql/initMockDatabase.sql:/docker-entrypoint-initdb.d/init.sql
- ./data/db:/var/lib/mysql
networks:
- internal
static:
image: edirom/cantaloupe
restart: unless-stopped
ports:
- 8182:8182
volumes:
- ./data/images:/opt/cantaloupe/images
configs:
- source: cantaloupe_conf
target: /etc/cantaloupe.properties
networks:
- internal
configs:
cantaloupe_conf:
file: ./cantaloupe.properties
networks:
internal: