docs: add more helpful comments
This commit is contained in:
+8
-6
@@ -8,23 +8,24 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
tty: true
|
tty: true
|
||||||
ports:
|
ports:
|
||||||
- "${APP_PORT:-8000}:80"
|
- 8000:80
|
||||||
environment:
|
environment: # You can either use these properties OR an .env file. Do not use both!
|
||||||
APP_KEY: "" # Generate a key using `echo base64:$(openssl rand -base64 32)`
|
APP_KEY: "" # Generate a key using `echo base64:$(openssl rand -base64 32)`
|
||||||
APP_URL: "http://localhost:8000"
|
APP_URL: "http://localhost:8000"
|
||||||
ASSET_URL: "http://localhost:8000"
|
ASSET_URL: "http://localhost:8000"
|
||||||
DB_CONNECTION: mysql
|
DB_CONNECTION: mysql
|
||||||
DB_HOST: investbrain-mysql
|
DB_HOST: investbrain-mysql
|
||||||
DB_PORT: 3306
|
DB_PORT: 3306
|
||||||
DB_DATABASE: ${DB_DATABASE:-investbrain}
|
DB_DATABASE: investbrain
|
||||||
DB_USERNAME: ${DB_USERNAME:-investbrain}
|
DB_USERNAME: investbrain
|
||||||
DB_PASSWORD: ${DB_PASSWORD:-investbrain}
|
DB_PASSWORD: investbrain
|
||||||
SESSION_DRIVER: redis
|
SESSION_DRIVER: redis
|
||||||
QUEUE_CONNECTION: redis
|
QUEUE_CONNECTION: redis
|
||||||
CACHE_STORE: redis
|
CACHE_STORE: redis
|
||||||
REDIS_HOST: investbrain-redis
|
REDIS_HOST: investbrain-redis
|
||||||
volumes:
|
volumes:
|
||||||
- ./storage:/var/app/storage
|
- investbrain-storage:/var/app/storage # You can use a volume...
|
||||||
|
# - /path/to/storage:/var/app/storage # ...or you can use a path on host
|
||||||
depends_on:
|
depends_on:
|
||||||
- mysql
|
- mysql
|
||||||
- redis
|
- redis
|
||||||
@@ -55,5 +56,6 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- investbrain-network
|
- investbrain-network
|
||||||
volumes:
|
volumes:
|
||||||
|
investbrain-storage:
|
||||||
investbrain-redis:
|
investbrain-redis:
|
||||||
investbrain-mysql:
|
investbrain-mysql:
|
||||||
|
|||||||
Reference in New Issue
Block a user