Skip to content

Commit

Permalink
docker and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando Mariano committed Jun 5, 2021
1 parent e9ec3ef commit f1568a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ a) Create a `.env` and configure environment variables
$ cp .env.default .env
```

b) Installing dependencies
b) Up the Docker containers

```bash
$ docker-compose exec app composer install
$ docker-compose up -d
```

c) Up the Docker containers
c) Installing dependencies

```bash
$ docker-compose up -d
$ docker-compose exec app composer install
```

## Verify the containers
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
context: ./docker/app
container_name: trimania_app
ports:
- "80:80"
- "8083:80"
volumes:
- .:/var/www/html
- ./docker/app/php.ini:/usr/local/etc/php/php.ini
Expand Down

0 comments on commit f1568a6

Please sign in to comment.