mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 02:54:05 +00:00
Use tmpfs in docker-compose
This commit is contained in:
parent
5a20a0e2a7
commit
660b772fe3
1 changed files with 4 additions and 0 deletions
|
|
@ -40,6 +40,8 @@ services:
|
|||
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
tmpfs:
|
||||
- /var/lib/mysql
|
||||
mysql2:
|
||||
image: mysql:5.7
|
||||
environment:
|
||||
|
|
@ -51,6 +53,8 @@ services:
|
|||
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
tmpfs:
|
||||
- /var/lib/mysql
|
||||
postgres:
|
||||
image: postgres:11
|
||||
environment:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue