-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
47 lines (47 loc) · 950 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
version: "3.9" # optional since v1.27.0
services:
cryptoviz-database:
platform: linux/x86_64
env_file: ./.env.production
image: mysql:8.0.27
restart: always
ports:
- "3306:3306"
volumes:
- mysql-data:/var/lib/mysql
networks:
- cryptoviz-network
cryptoviz-redis:
env_file: ./.env.production
image: redis:6.2.6
restart: always
ports:
- "6379:6379"
networks:
- cryptoviz-network
cryptoviz-phpmyadmin:
env_file: ./.env.production
image: phpmyadmin
restart: always
ports:
- "8081:80"
networks:
- cryptoviz-network
profiles:
- debug
cryptoviz-app:
env_file: ./.env.production
build: .
restart: always
ports:
- "3001:5000"
depends_on:
- cryptoviz-database
- cryptoviz-redis
networks:
- cryptoviz-network
volumes:
mysql-data:
networks:
cryptoviz-network:
driver: bridge