Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Commit

Permalink
recreate docker-compose.dist.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AdilElHamouss committed Sep 13, 2019
1 parent b4892a5 commit 792eab9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docker-compose.dist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
web:
image: shincoder/homestead:php7.3
restart: unless-stopped
ports:
- "8000:80" # web
- "2222:22" # ssh
volumes:
- ~/.composer:/home/homestead/.composer # composer caching
- ~/.gitconfig:/home/homestead/.gitconfig # Git configuration ( access alias && config )
- ~/.ssh:/home/homestead/.ssh # Ssh keys for easy deployment inside the container
- ~/apps:/apps # all apps
- ~/apps/volumes/nginx/sites-available:/etc/nginx/sites-available # nginx sites ( in case you recreate the container )
- ~/apps/volumes/nginx/sites-enabled:/etc/nginx/sites-enabled # nginx sites ( in case you recreate the container )
- ~/volumes/nginx/ssl:/etc/nginx/ssl
links:
- mysql

mysql:
image: mysql:5.7
restart: unless-stopped
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
volumes:
- ~/volumes/mysql:/var/lib/mysql

0 comments on commit 792eab9

Please sign in to comment.