-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
73 lines (67 loc) · 1.49 KB
/
docker-compose.yml
File metadata and controls
73 lines (67 loc) · 1.49 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
version: "3"
services:
mariadb:
image: mariadb
container_name: Myfab_db
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MARIADB_ROOT_PASSWORD: ${MARIADB_ROOT_PASSWORD}
MARIADB_USER: "MyFabUser"
MARIADB_PASSWORD: ${MARIADB_PASSWORD}
MARIADB_DATABASE: "myFabUltimate"
volumes:
- ../MyFabUltimate_Back/data/mariaDb:/var/lib/mysql
networks:
- MyFab
phpmyadmin:
image: phpmyadmin
restart: always
container_name: Myfab_PhpMyAdmin
depends_on:
- "mariadb"
ports:
- 8080:80
environment:
- PMA_HOST=mariadb
- PMA_PORT=3306
networks:
- MyFab
back:
build:
context: ../MyFabUltimate_Back/
dockerfile: Dockerfile
restart: always
container_name: Myfab_Back
depends_on:
- "mariadb"
volumes:
- ../MyFabUltimate_Back/data/:/home/node/MyFabUltimate_Back/data/
- ../MyFabUltimate_Back/logs/:/home/node/MyFabUltimate_Back/logs/
ports:
- 5000:5000
networks:
- MyFab
front:
build: .
restart: always
container_name: Myfab_Front
depends_on:
- "back"
# - "ghost"
ports:
- 3000:3000
networks:
- MyFab
# ghost:
# image: ghost:alpine
# restart: always
# container_name: Myfab_Ghost
# volumes:
# - ../MyFabUltimate_Back/data/ghost:/var/lib/ghost/content/
# ports:
# - 2368:2368
# networks:
# - MyFab
networks:
MyFab: