-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
49 lines (45 loc) · 1018 Bytes
/
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
services:
mariadb:
image: mariadb:latest
container_name: mariadb
ports:
- "1111:3306"
environment:
MYSQL_ROOT_PASSWORD: fivem_tracker
MYSQL_DATABASE: fivem_tracker
MYSQL_USER: fivem_tracker
MYSQL_PASSWORD: fivem_tracker
volumes:
- mariadb_data:/var/lib/mysql
networks:
- app_network
backend:
build:
context: ./backend
dockerfile: Dockerfile
container_name: backend
environment:
- FRONTEND_URL=https://tracker.louis.systems
- MYSQL_HOST=mariadb
- MYSQL_USER=fivem_tracker
- MYSQL_PASSWORD=fivem_tracker
- MYSQL_DATABASE=fivem_tracker
ports:
- "4000:4000"
networks:
- app_network
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: frontend
environment:
- REACT_APP_API_URL=https://tracker.louis.sytems/
ports:
- "6666:80"
networks:
- app_network
networks:
app_network:
volumes:
mariadb_data: