Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9a6b731

Browse files
committed
Adds redis, includes it as a default service under site startup
1 parent72a0487 commit9a6b731

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

‎README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Bringing up the Docker Compose network with `site` instead of just using `up`, e
1515
-**nginx** -`:80`
1616
-**mysql** -`:3306`
1717
-**php** -`:9000`
18+
-**redis** -`:6379`
1819
-**mailhog** -`:8025`
1920

2021
Three additional containers are included that handle Composer, NPM, and Artisan commands*without* having to have these platforms installed on your local computer. Use the following command examples from your project root, modifying them to fit your particular use case.

‎docker-compose.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ services:
1515
-./src:/var/www/html:delegated
1616
depends_on:
1717
-php
18+
-redis
1819
-mysql
1920
-mailhog
2021
networks:
@@ -49,6 +50,15 @@ services:
4950
networks:
5051
-laravel
5152

53+
redis:
54+
image:redis:alpine
55+
container_name:redis
56+
restart:unless-stopped
57+
ports:
58+
-6379:6379
59+
networks:
60+
-laravel
61+
5262
composer:
5363
build:
5464
context:.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp