Skip to content

Commit ba3dc67

Browse files
🔧 Some changes in yaml
1 parent a87de13 commit ba3dc67

File tree

2 files changed

+12
-15
lines changed

2 files changed

+12
-15
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# Global
22
.*.swp
33
.DS_Store
4-
5-
# Web
6-
web/*
74
data/
85

96
# SSL Certs

docker-compose.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: '3'
1+
version: "3"
22
services:
33
#NGNIX & PHP IMAGE
44
app:
@@ -7,20 +7,20 @@ services:
77
dockerfile: Dockerfile
88
image: laravel-docker/app:latest
99
networks:
10-
- appnet
10+
- appnet
1111
volumes:
12-
- ./web:/var/www/html
12+
- ./web:/var/www/html
1313
ports:
14-
- ${APP_PORT}:80
14+
- ${APP_PORT}:80
1515
working_dir: /var/www/html
1616

1717
#REDIS IMAGE
1818
cache:
1919
image: redis:alpine
2020
networks:
21-
- appnet
21+
- appnet
2222
volumes:
23-
- cachedata:/data
23+
- cachedata:/data
2424

2525
# MYSQL IMAGE
2626
db:
@@ -31,11 +31,11 @@ services:
3131
MYSQL_USER: ${MYSQL_USER}
3232
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
3333
ports:
34-
- ${DB_PORT}:3306
34+
- ${DB_PORT}:3306
3535
networks:
36-
- appnet
36+
- appnet
3737
volumes:
38-
- dbdata:/var/lib/mysql
38+
- dbdata:/var/lib/mysql
3939

4040
# Nodejs IMAGE
4141
node:
@@ -44,11 +44,11 @@ services:
4444
dockerfile: Dockerfile
4545
image: laravel-docker/node:latest
4646
networks:
47-
- appnet
47+
- appnet
4848
volumes:
49-
- ./web:/opt
49+
- ./web:/opt
5050
working_dir: /opt
51-
command: echo hi
51+
command: Hello, Node js here ;)
5252

5353
# PHPMyAdmin Image
5454
myadmin:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy