-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
43 lines (41 loc) · 813 Bytes
/
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
services:
# db:
# image: mongo
# restart: always
# environment:
# MONGO_INITDB_ROOT_USERNAME: root
# MONGO_INITDB_ROOT_PASSWORD: example
# MONGO_INITDB_DATABASE: dev
# # ports:
# # - 27017:27017
# networks:
# - inventarr
be:
build:
context: ./be
dockerfile: Dockerfile
# environment:
# MONGODB_URL: "mongodb://root:example@db:27017/dev?authSource=admin&retryWrites=true&w=majority"
volumes:
- ./be:/src
ports:
- 5123:5000
# depends_on:
# - db
networks:
- inventarr
fe:
build:
context: ./fe
dockerfile: Dockerfile
volumes:
- ./fe:/app
ports:
- 3123:3000
depends_on:
- be
networks:
- inventarr
networks:
inventarr:
driver: bridge