Skip to content

Commit 0091906

Browse files
author
Jovert Lota Palonpon
committed
wip
1 parent 8ceb83f commit 0091906

File tree

2 files changed

+56
-56
lines changed

2 files changed

+56
-56
lines changed

docker-compose.yml

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
1-
version: "3"
1+
version: '3'
22
services:
3-
lra-php:
4-
build:
5-
context: .
6-
dockerfile: Dockerfile
7-
container_name: lra-php
8-
restart: unless-stopped
9-
working_dir: /var/www/html
10-
volumes:
11-
- ./:/var/www/html
12-
- ./php.ini:/usr/local/etc/php/conf.d/local.ini:ro
13-
env_file:
14-
- .env
3+
laravel-react-admin-php:
4+
build:
5+
context: .
6+
dockerfile: Dockerfile
7+
container_name: laravel-react-admin-php
8+
restart: unless-stopped
9+
working_dir: /var/www/html
10+
volumes:
11+
- ./:/var/www/html
12+
- ./php.ini:/usr/local/etc/php/conf.d/local.ini:ro
13+
env_file:
14+
- .env
1515

16-
lra-webserver:
17-
image: nginx:alpine
18-
container_name: lra-webserver
19-
restart: unless-stopped
20-
ports:
21-
- "80:80"
22-
- "443:443"
23-
volumes:
24-
- ./:/var/www/html
25-
- ./nginx.conf:/etc/nginx/conf.d/nginx.conf
26-
depends_on:
27-
- lra-php
16+
laravel-react-admin-webserver:
17+
image: nginx:alpine
18+
container_name: laravel-react-admin-webserver
19+
restart: unless-stopped
20+
ports:
21+
- '80:80'
22+
- '443:443'
23+
volumes:
24+
- ./:/var/www/html
25+
- ./nginx.conf:/etc/nginx/conf.d/nginx.conf
26+
depends_on:
27+
- laravel-react-admin-php
2828

29-
lra-db:
30-
image: mysql:5.7
31-
container_name: lra-db
32-
restart: unless-stopped
33-
ports:
34-
- "3306:3306"
35-
environment:
36-
MYSQL_DATABASE: lra
37-
MYSQL_ROOT_PASSWORD: secret
38-
volumes:
39-
- ~/.lra-data:/var/lib/mysql
40-
depends_on:
41-
- lra-php
29+
laravel-react-admin-db:
30+
image: mysql:5.7
31+
container_name: laravel-react-admin-db
32+
restart: unless-stopped
33+
ports:
34+
- '3306:3306'
35+
environment:
36+
MYSQL_DATABASE: laravel-react-admin
37+
MYSQL_ROOT_PASSWORD: secret
38+
volumes:
39+
- ~/.laravel-react-admin-data:/var/lib/mysql
40+
depends_on:
41+
- laravel-react-admin-php

package-lock.json

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)