Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- php:
- build: ./Dockerfiles/php
- container_name: "laravel_php"
- volumes:
- - ./src:/var/www/html
- working_dir: /var/www/html
- command: ["php", "entrypoint.sh"]
- tty: true
- stdin_open: true
- $ docker-compose up
- Recreating laravel_php ... done
- Attaching to laravel_php
- laravel_php | 2019/01/20 07:41:14 entrypoint.sh [INFO] Connection confriming...
- laravel_php exited with code 0
- $ docker ps -all
- CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
- 0371439067da laravel_php "docker-php-entrypoi…" 11 seconds ago Exited (0) 10 seconds ago laravel_php
- #!/bin/bash
- set -e
- echo `date '+%Y/%m/%d %H:%M:%S'` $0 "[INFO] Connection confriming..."
Add Comment
Please, Sign In to add comment