-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
84 lines (77 loc) · 1.38 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
version: "3.9"
networks:
public:
# This network is exposed
driver: bridge
name: public
internal:
# This Docker network is only used for the database.
driver: bridge
name: internal
internal: true
services:
database:
image: #to complete
volumes:
- database: #to complete
env_file: ../UA-api/.env
networks:
- internal
healthcheck: #???
test: ["CMD", "/opt/bitnami/scripts/mariadb/healthcheck.sh"]
interval: 15s
timeout: 5s
retries: 6
restart: always
api:
build: api
ports:
- '3000:3000'
depends_on:
database:
condition: service_healthy
env_file: ../UA-api/.env
networks:
- public
- internal
restart: always
front:
build: front
ports:
- 8080:8080
env_file: ../UA-front/.env
networks:
- public
adminer:
image: #to complete
restart: always
ports:
- #to complete
networks:
- public
- internal
grafana:
image: #to complete
ports:
-
volumes:
- grafana: #to complete
networks:
- public
- internal
restart: always
filemanager:
image: #to complete
volumes:
env_file:
ports:
volumes:
database:
driver: local
name: ua_db
database_seed:
driver: local
name: ua_seed
grafana:
driver: local
name: ua_grafana