mirror of
https://github.com/cupcakearmy/liquet.git
synced 2024-10-31 23:54:12 +01:00
optimize docker-compose file
This commit is contained in:
parent
f11c180662
commit
4d92b206a8
@ -1,7 +1,12 @@
|
||||
version: '3'
|
||||
version: '3.7'
|
||||
|
||||
x-default: &default
|
||||
restart: always
|
||||
env_file: .env
|
||||
|
||||
services:
|
||||
wp:
|
||||
<<: *default
|
||||
image: wordpress:5-apache
|
||||
volumes:
|
||||
- ./uploads.ini:/usr/local/etc/php/conf.d/uploads.ini:ro
|
||||
@ -9,11 +14,9 @@ services:
|
||||
- ./liquet:/var/www/html/wp-content/themes/liquet:ro
|
||||
ports:
|
||||
- 80:80
|
||||
env_file: .env
|
||||
|
||||
db:
|
||||
<<: *default
|
||||
image: mariadb:10.3
|
||||
restart: always
|
||||
volumes:
|
||||
- ./data/db:/var/lib/mysql
|
||||
env_file: .env
|
Loading…
Reference in New Issue
Block a user