-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
54 lines (49 loc) · 1.02 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
version: '3.8'
services:
mongo:
container_name: tf-gui_mongo
image: mongo
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGODB_USER:-root}
MONGO_INITDB_ROOT_PASSWORD: ${MONGODB_PASSWORD:-root}
ports:
- target: 27017
published: 27017
protocol: tcp
networks:
- main
api:
container_name: tf-gui_api
build:
context: .
dockerfile: build/package/api/Dockerfile.dev
target: development
ports:
- 8080:80
volumes:
- ./api:/var/www/html
- ./build/package/api/apache2.conf:/etc/apache2/sites-enabled/000-default.conf
networks:
- main
web:
container_name: tf-gui_web
build:
context: .
dockerfile: build/package/web/Dockerfile.dev
ports:
- 3000:3000
volumes:
- ./web:/app
networks:
- main
mail:
container_name: tf-gui_mail
image: schickling/mailcatcher
restart: always
ports:
- 1080:1080
networks:
- main
networks:
main: