-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.only-for-testing.yml
64 lines (64 loc) · 1.47 KB
/
docker-compose.only-for-testing.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
version: "3"
services:
frontend:
stdin_open: true
build:
context: ./frontend
image: ai-my-career-frontend
ports:
- "5001:3000"
volumes:
- "/app/node_modules"
- ./frontend/src:/app
depends_on:
- backend
backend:
build:
context: ./backend
image: ai-my-career-backend
ports:
- "5002:80"
volumes:
- ./backend/src:/var/www/html
read_only: false
depends_on:
- database
environment:
APP_URL: http://localhost
APP_NAME: "AiMyCareer"
APP_ENV: local
APP_KEY: nIUYRvYsDIGMFJaunZpE0U4nDSgXmruD
APP_DEBUG: "true"
LOG_CHANNEL: stack
BROADCAST_DRIVER: log
CACHE_DRIVER: file
QUEUE_CONNECTION: sync
SESSION_DRIVER: file
SESSION_LIFETIME: 120
JWT_SECRET: Ir23rabwhdQK6kFCjc8ly82ZBQxBScn1aNOZSSkNYPtBH9SOqCm6T73JQjaQ4qOP
DB_CONNECTION: mysql
DB_HOST: database
DB_PORT: 3306
DB_DATABASE: laravel
DB_USERNAME: root
DB_PASSWORD : wM09y6Rre
DOCTRINE_PROXY_AUTOGENERATE: "true"
phpmyadmin:
image: phpmyadmin:5.0.2-apache
restart: always
ports:
- 5003:80
depends_on:
- database
environment:
PMA_HOST: database
PMA_USER: root
PMA_PASSWORD: wM09y6Rre
database:
image: mariadb:10.5.5-focal
restart: always
environment:
MYSQL_ROOT_PASSWORD: wM09y6Rre
MYSQL_DATABASE: laravel
volumes:
- ./database/data:/var/lib/mysql