forked from push-protocol/push-delivery-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (41 loc) · 901 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
version: '3'
services:
redis:
image: 'redis:latest'
restart: always
networks:
- main
ports:
- 6379:6379
volumes:
- ./external/redis:/data
mysql:
image: mysql:5.7.32
container_name: db2
platform: linux/amd64
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: 'pass'
MYSQL_DATABASE: ${DELIVERY_NODE_DB_NAME}
MYSQL_USER: ${DELIVERY_NODE_DB_USER}
MYSQL_PASSWORD: ${DELIVERY_NODE_DB_PASS}
ports:
- 3306:3306
# Change this to your local path
volumes:
- ./external/mysql:/var/lib/mysql/
phpmyadmin:
image: phpmyadmin/phpmyadmin
depends_on:
- mysql
environment:
PMA_HOST: mysql
PMA_PORT: 3306
PMA_ARBITRARY: 1
restart: always
ports:
- 8182:80
networks:
main:
driver: bridge