Updated DB

This commit is contained in:
eldadfux
2019-09-14 10:45:36 +03:00
parent c7b5606de3
commit 1ec9e54c5b
2 changed files with 4 additions and 6 deletions
+2 -2
View File
@@ -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
+2 -4
View File
@@ -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