Skip to content

Instantly share code, notes, and snippets.

@elbersongames
Last active April 5, 2021 14:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elbersongames/cb71a4cb0d76266ca38200ad227a2857 to your computer and use it in GitHub Desktop.
Save elbersongames/cb71a4cb0d76266ca38200ad227a2857 to your computer and use it in GitHub Desktop.
version: "3"
services:
db:
image: mariadb:10.5
environment:
- MYSQL_USER=root
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
- MYSQL_DATABASE=appadsbeta
ports:
- 8011:3306
volumes:
- ./db_mysql:/var/lib/mysql:cached
app:
image: elbersongames/webserver:1.0
volumes:
- .:/var/www/html:cached
ports:
- 8012:80
links:
- db
depends_on:
- db
tty: true
volumes:
nfsmount:
driver: local
driver_opts:
type: nfs
o: addr=host.docker.internal,rw,nolock,hard,nointr,nfsvers=3
device: ":${PWD}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment