-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.old.yml
44 lines (40 loc) · 1.14 KB
/
docker-compose.old.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
version: '3.1'
services:
tinyarrows:
build:
context: .
dockerfile: Dockerfile
image: tinyarrows:latest
ports:
- 5001:5001
volumes:
- /Users/bylaska/Public/MyArrows/archive:/TinyArrows/archive
- /Users/bylaska/Public/MyArrows/Work:/TinyArrows/Work
depends_on:
- mariadb
- mongodb
mariadb:
image: mariadb:latest
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: 05291999
MYSQL_DATABASE: TNT_Project
MYSQL_USER: arrows
MYSQL_PASSWORD: reaction
command: --bind-address=0.0.0.0
restart: always
volumes:
- /Users/bylaska/Public/MyArrows/mariadb:/var/lib/mysql
- /Users/bylaska/Public/TinyArrows/init:/docker-entrypoint-initdb.d
mongodb:
image: mongo:latest
ports:
- 27017:27017
volumes:
- /Users/bylaska/Public/MyArrows/mongodb:/data/db
environment:
MONGO_INITDB_ROOT_USERNAME: arrows
MONGO_INITDB_ROOT_PASSWORD: reaction
MONGO_INITDB_DATABASE: Arrows # Set the default database name for MongoDB
command: mongod --auth --bind_ip_all # Enable authentication and bind to all interfaces