forked from tattle-made/kosh-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
59 lines (54 loc) · 1.04 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
version: "3"
services:
db:
image: "mysql"
container_name: sql
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: root_pw
MYSQL_DATABASE: kosh
MYSQL_USER: user_name
MYSQL_PASSWORD: user_pw
ports:
- 3306:3306
volumes:
- "~/data/kosh/db:/var/lib/mysql"
networks:
- tattle
mongo:
image: mongo
container_name: mongo
ports:
- 27017:27017
volumes:
- "~/data/kosh/mongo:/data/db"
networks:
- tattle
db_gui:
image: adminer
container_name: sql_ui
restart: always
ports:
- 8080:8080
networks:
- tattle
backend:
build:
context: ./src/backend
target: debug
container_name: kosh_api
restart: always
command: tail -f /dev/null
ports:
- 10001:8000
- 9229:9229
volumes:
- "./src/backend:/app"
env_file:
- ./src/backend/development.env
networks:
- tattle
networks:
tattle:
driver: bridge