Skip to content

Commit 5916fb6

Browse files
committed
First post
0 parents  commit 5916fb6

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

dev/docker-compose.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
version: '3.3'
2+
3+
services:
4+
db:
5+
image: mysql:latest
6+
# mysql / node-mysql2 js libs do not support the newer password hashing scheme :(
7+
command: --default-authentication-plugin=mysql_native_password
8+
volumes:
9+
- db_data:/var/lib/mysql
10+
ports:
11+
- 3100:3306
12+
restart: always
13+
environment:
14+
MYSQL_USER: spaceship
15+
MYSQL_PASSWORD: spaceship
16+
MYSQL_DATABASE: spaceship
17+
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
18+
redis:
19+
image: redis:4.0
20+
ports:
21+
- 3101:6379
22+
volumes:
23+
- db_data:/data
24+
volumes:
25+
db_data: {}

0 commit comments

Comments
 (0)