윤준석

ADD: docker-compose.yml file for database

FIX: Dockerfile for m1 mac (x86)
1 -FROM mysql:5.7 1 +FROM --platform=linux/x86_64 mysql:5.7
2 2
3 ADD ./mysql_init /docker-entrypoint-initdb.d 3 ADD ./mysql_init /docker-entrypoint-initdb.d
4 4
5 EXPOSE 3306 5 EXPOSE 3306
6 6
7 -CMD["mysqld"]
...\ No newline at end of file ...\ No newline at end of file
7 +CMD ["mysqld"]
...\ No newline at end of file ...\ No newline at end of file
......
1 +version: '3'
2 +
3 +services:
4 + db:
5 + image: mamuri-db
6 + restart: always
7 + container_name: mamuri-db-container
8 + ports:
9 + - '33060:3306'
10 + env_file:
11 + - ".env"