Skip to content

Instantly share code, notes, and snippets.

@k2levin
Last active July 13, 2017 07:24
Show Gist options
  • Save k2levin/5a6d49e08bf8f12ce6e79d1ae4693d54 to your computer and use it in GitHub Desktop.
Save k2levin/5a6d49e08bf8f12ce6e79d1ae4693d54 to your computer and use it in GitHub Desktop.

Revisions

  1. k2levin revised this gist Jul 13, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion docker-compose-jenkins.yml
    Original file line number Diff line number Diff line change
    @@ -14,7 +14,7 @@ services:
    php:
    image: k2levin/php-laravel:latest
    volumes:
    - "./laravel/:/var/www/app/laravel/"
    - "$PWD/:/var/www/app/laravel/"
    depends_on:
    - db
    - redis
  2. k2levin created this gist Jun 20, 2017.
    26 changes: 26 additions & 0 deletions docker-compose-jenkins.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,26 @@
    version: "3"
    services:
    db:
    image: mysql:5.7
    environment:
    - MYSQL_ALLOW_EMPTY_PASSWORD=yes
    - MYSQL_DATABASE=laravel
    networks:
    - db-network
    redis:
    image: redis:alpine
    networks:
    - redis-network
    php:
    image: k2levin/php-laravel:latest
    volumes:
    - "./laravel/:/var/www/app/laravel/"
    depends_on:
    - db
    - redis
    networks:
    - redis-network
    - db-network
    networks:
    db-network:
    redis-network: