site001 with nfs mount

This commit is contained in:
2020-01-16 05:12:28 -06:00
parent 6a0c614316
commit 43e6315f53

View File

@@ -0,0 +1,32 @@
version: '3'
services:
php-apache:
image: php:7.4-apache
ports:
- "127.0.0.1:8090:80"
volumes:
- docs:/var/www/html
links:
- "mariadb"
mariadb:
image: mariadb:10.1
volumes:
- db:/var/lib/mysql
environment:
TZ: "America/Chicago"
MYSQL_ALLOW_EMPTY_PASSWORD: "no"
MYSQL_ROOT_PASSWORD: "8pwFrTUks-"
MYSQL_USER: 'user0'
MYSQL_PASSWORD: 'TCfQwfAJP!4*&cnV'
MYSQL_DATABASE: 'prod'
volumes:
docs: # /Users/<USER>
driver: local
driver_opts:
type: nfs
o: addr=host.docker.internal,rw,nolock,hard,nointr,nfsvers=3
device: ":/Users/nam/work/learning/mmo/sites/001/docs"
db: