Skip to content

Commit

Permalink
Merge pull request #5 from Wassim-Rached/master
Browse files Browse the repository at this point in the history
Master
  • Loading branch information
Wassim-Rached authored May 3, 2024
2 parents f148b75 + a224058 commit ed23a03
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/bash

touch -p /home/site/wwwroot/.env
touch /home/site/wwwroot/.env
cp /home/site/wwwroot/nginx/default.conf /etc/nginx/sites-available/default && service nginx restart
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
depends_on:
- fpm
ports:
- "10302:80"
- "1001:80"
networks:
- main_network

Expand All @@ -47,7 +47,7 @@ services:
image: phpmyadmin:latest
restart: always
ports:
- "8080:80"
- "1002:80"
environment:
PMA_HOST: mysql

Expand Down
15 changes: 15 additions & 0 deletions info.dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
symfony project up on : localhost:1001
phpmyadmin up on: localhost:1002

# to shut down the containers
docker-compose down
# to start or create the containers
docker-compose up

# to create new branch in git
git checkout -b branch_name

# to push the branch to the remote repository
git add .
git commit -m "message"
git push origin branch_name

0 comments on commit ed23a03

Please sign in to comment.