Skip to content

Commit

Permalink
WIP: add MySQL to docker setup
Browse files Browse the repository at this point in the history
  • Loading branch information
thePanz committed Mar 19, 2024
1 parent 993e681 commit a6463df
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .docker/php-config/11-mysql-socket.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
; pdo_mysql.default_socket = /var/run/mysqld/mysql.sock'
9 changes: 9 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ services:
context: .docker/
volumes:
- ".:/var/www/html:rw,z"
- "mysql_socket:/var/run/mysqld/mysqld.sock:rw"

# memcached:
# image: memcached:1.6.13-alpine3.15
mysql:
image: mysql:8.3
profiles:
- full
volumes:
- "mysql_socket:/var/run/mysqld/mysqld.sock:rw"
volumes:
mysql_socket:

0 comments on commit a6463df

Please sign in to comment.