-
-
Save pedroborges/0efe5f5e125bbddcdf07 to your computer and use it in GitHub Desktop.
web and db services don't work.
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
FROM stackbrew/ubuntu:latest | |
RUN apt-get update -qq && apt-get install -y -qq python-software-properties | |
RUN add-apt-repository -y ppa:ondrej/php5 | |
RUN apt-get update -qq && apt-get install -y -qq php5-cli php5-fpm php5-mysql php5-pgsql php5-sqlite php5-curl php5-gd php5-gmp php5-mcrypt php5-xdebug php5-memcached php5-imagick wget | |
RUN wget https://phar.phpunit.de/phpunit.phar && chmod +x phpunit.phar && mv phpunit.phar /usr/local/bin/phpunit | |
RUN mkdir www | |
WORKDIR /www |
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
db_1 | 140128 15:20:55 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead. | |
db_1 | 140128 15:20:55 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead. | |
db_1 | 140128 15:20:56 [Note] Plugin 'FEDERATED' is disabled. | |
db_1 | 140128 15:20:56 InnoDB: The InnoDB memory heap is disabled | |
db_1 | 140128 15:20:56 InnoDB: Mutexes and rw_locks use GCC atomic builtins | |
db_1 | 140128 15:20:56 InnoDB: Compressed tables use zlib 1.2.3.4 | |
db_1 | 140128 15:20:56 InnoDB: Initializing buffer pool, size = 128.0M | |
db_1 | 140128 15:20:56 InnoDB: Completed initialization of buffer pool | |
db_1 | 140128 15:20:56 InnoDB: highest supported file format is Barracuda. | |
db_1 | 140128 15:20:56 InnoDB: Waiting for the background threads to start | |
db_1 | 140128 15:20:57 InnoDB: 5.5.35 started; log sequence number 1595675 | |
db_1 | ERROR: 1049 Unknown database 'mysql' | |
db_1 | 140128 15:20:57 [ERROR] Aborting | |
db_1 | | |
db_1 | 140128 15:20:57 InnoDB: Starting shutdown... | |
db_1 | 140128 15:20:58 InnoDB: Shutdown completed; log sequence number 1595675 | |
db_1 | 140128 15:20:58 [Note] /usr/sbin/mysqld: Shutdown complete |
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
web: | |
build: . | |
command: php -S 0.0.0.0:8000 -t /www/public | |
links: | |
- db | |
ports: | |
- 8000:8000 | |
volumes: | |
- web/:/www | |
db: | |
image: orchardup/mysql | |
ports: | |
- 49000:3306 | |
environment: | |
MYSQL_DATABASE: laravel | |
MYSQL_USER: user | |
MYSQL_PASSWORD: pass | |
volumes: | |
- db/:/var/lib/mysql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment