Created
October 30, 2018 09:23
-
-
Save TwanoO67/0085d0e3a166faeb780c70742910394d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2.0' | |
services: | |
php: | |
container_name: "laravel" | |
image: intelligensia/numesia-apache-php | |
restart: always | |
volumes: | |
#On utilise la clef ssh, et config git du poste courant | |
- "~/.ssh:/root/.ssh" | |
- "./config/ssh-wwwdata:/var/www/.ssh" | |
- "~/.gitconfig:/root/.gitconfig" | |
- "./api:/var/www/html/api" | |
- "./config/apache:/etc/apache2/sites-enabled/" | |
working_dir: /var/www/html | |
ports: | |
- "${PORT}:80" | |
networks: | |
default: | |
aliases: | |
- "api.local" | |
volumes: | |
db: | |
driver: "local" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment