Skip to content

Commit 7de756b

Browse files
MaxianEdisonMaxianEdison
authored andcommitted
delete laravel files
1 parent c930c1f commit 7de756b

File tree

7,214 files changed

+240
-880165
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

7,214 files changed

+240
-880165
lines changed

CHANGELOG.md

Lines changed: 0 additions & 213 deletions
This file was deleted.

docker-compose.yml

Lines changed: 76 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,83 @@
11
version: '3'
22
services:
3-
app:
4-
build:
5-
context: .
6-
dockerfile: Dockerfile
7-
image: php:8.1.0-fpm
8-
container_name: app
9-
restart: unless-stopped
10-
tty: true
3+
mariadb:
4+
image: docker.io/bitnami/mariadb:latest
115
environment:
12-
SERVICE_NAME: app
13-
SERVICE_TAGS: dev
14-
working_dir: /var/www
15-
volumes:
16-
- ./:/var/www
17-
- ./php/local.ini:/usr/local/etc/php/conf.d/local.ini
18-
networks:
19-
- app-network
20-
webserver:
21-
image: nginx:alpine
22-
container_name: webserver
23-
restart: unless-stopped
24-
tty: true
25-
ports:
26-
- "80:80"
27-
- "443:443"
28-
volumes:
29-
- ./:/var/www
30-
- ./nginx/conf.d/:/etc/nginx/conf.d/
31-
networks:
32-
- app-network
33-
db:
34-
image: mysql:5.7.22
35-
container_name: db
36-
restart: unless-stopped
37-
tty: true
6+
# ALLOW_EMPTY_PASSWORD is recommended only for development.
7+
- ALLOW_EMPTY_PASSWORD=yes
8+
- MARIADB_USER=bn_myapp
9+
- MARIADB_DATABASE=bitnami_myapp
10+
myapp:
11+
image: docker.io/bitnami/laravel:latest
3812
ports:
39-
- "3306:3306"
13+
- '8000:8000'
4014
environment:
41-
MYSQL_DATABASE: laravel
42-
MYSQL_ROOT_PASSWORD: your_mysql_root_password
43-
SERVICE_TAGS: dev
44-
SERVICE_NAME: mysql
15+
- DB_HOST=mariadb
16+
- DB_PORT=3306
17+
- DB_USERNAME=bn_myapp
18+
- DB_DATABASE=bitnami_myapp
4519
volumes:
46-
- dbdata:/var/lib/mysql/
47-
- ./mysql/my.cnf:/etc/mysql/my.cnf
48-
networks:
49-
- app-network
50-
phpmyadmin:
51-
image: phpmyadmin/phpmyadmin:latest
52-
ports:
53-
- 8080:80
54-
environment:
55-
PMA_HOST: db
20+
- './my-project:/app'
5621
depends_on:
57-
- db
58-
networks:
59-
app-network:
60-
driver: bridge
61-
volumes:
62-
dbdata:
63-
driver: local
22+
- mariadb
23+
#app:
24+
# build:
25+
# context: .
26+
# dockerfile: Dockerfile
27+
# image: php:8.1.0-fpm
28+
# container_name: app
29+
# restart: unless-stopped
30+
# tty: true
31+
# environment:
32+
# SERVICE_NAME: app
33+
# SERVICE_TAGS: dev
34+
# working_dir: /var/www
35+
# volumes:
36+
# - ./:/var/www
37+
# - ./php/local.ini:/usr/local/etc/php/conf.d/local.ini
38+
# networks:
39+
# - app-network
40+
#webserver:
41+
# image: nginx:alpine
42+
# container_name: webserver
43+
# restart: unless-stopped
44+
# tty: true
45+
# ports:
46+
# - "80:80"
47+
# - "443:443"
48+
# volumes:
49+
# - ./:/var/www
50+
# - ./nginx/conf.d/:/etc/nginx/conf.d/
51+
# networks:
52+
# - app-network
53+
#db:
54+
# image: mysql:5.7.22
55+
# container_name: db
56+
# restart: unless-stopped
57+
# tty: true
58+
# ports:
59+
# - "3306:3306"
60+
# environment:
61+
# MYSQL_DATABASE: laravel
62+
# MYSQL_ROOT_PASSWORD: your_mysql_root_password
63+
# SERVICE_TAGS: dev
64+
# SERVICE_NAME: mysql
65+
# volumes:
66+
# - dbdata:/var/lib/mysql/
67+
# - ./mysql/my.cnf:/etc/mysql/my.cnf
68+
# networks:
69+
# - app-network
70+
#phpmyadmin:
71+
# image: phpmyadmin/phpmyadmin:latest
72+
# ports:
73+
# - 8080:80
74+
# environment:
75+
# PMA_HOST: db
76+
# depends_on:
77+
# - db
78+
#networks:
79+
# app-network:
80+
# driver: bridge
81+
#volumes:
82+
# dbdata:
83+
# driver: local
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
1-
; This file is for unifying the coding style for different editors and IDEs.
2-
; More information at http://editorconfig.org
3-
41
root = true
52

63
[*]
74
charset = utf-8
5+
end_of_line = lf
86
indent_size = 4
97
indent_style = space
10-
end_of_line = lf
118
insert_final_newline = true
129
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false
13+
14+
[*.{yml,yaml}]
15+
indent_size = 2
16+
17+
[docker-compose.yml]
18+
indent_size = 4

0 commit comments

Comments
 (0)