mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Updated DB
This commit is contained in:
+2
-2
@@ -17,8 +17,8 @@ services:
|
||||
before_install:
|
||||
- composer update --ignore-platform-reqs --optimize-autoloader --no-plugins --no-scripts
|
||||
- sudo service mysql stop
|
||||
- mkdir -p tests/resources/storage/db
|
||||
- cp -r tests/resources/mock/db tests/resources/storage/db
|
||||
#- mkdir -p tests/resources/storage/db
|
||||
#- cp -r tests/resources/mock/db tests/resources/storage/db
|
||||
|
||||
install:
|
||||
- docker-compose -f tests/resources/docker-compose.yml up -d
|
||||
|
||||
@@ -27,15 +27,13 @@ services:
|
||||
- _APP_STATSD_PORT=8125
|
||||
|
||||
mariadb:
|
||||
build: ./docker/mariadb
|
||||
image: appwrite/mariadb:1.0.0
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=password
|
||||
volumes:
|
||||
- ./storage/db:/var/lib/mysql:rw
|
||||
ports:
|
||||
- 3306:3306/tcp
|
||||
command: mysqld --innodb-flush-method=fsync
|
||||
#command: mysqld --innodb-flush-method=fsync
|
||||
|
||||
smtp:
|
||||
image: appwrite/smtp:1.0.0
|
||||
|
||||
Reference in New Issue
Block a user