|
|
%!s(int64=3) %!d(string=hai) anos | |
|---|---|---|
| api | %!s(int64=3) %!d(string=hai) anos | |
| app | %!s(int64=3) %!d(string=hai) anos | |
| docker | %!s(int64=3) %!d(string=hai) anos | |
| .env.skeleton | %!s(int64=3) %!d(string=hai) anos | |
| .gitignore | %!s(int64=3) %!d(string=hai) anos | |
| docker-compose.yml | %!s(int64=3) %!d(string=hai) anos | |
| readme.md | %!s(int64=3) %!d(string=hai) anos |
Add those lines to your hosts file:
127.0.0.1 local.api.<domain>.fr
127.0.0.1 local.app.<domain>.fr
Run from the project directory:
docker-compose build
Copy the .env file, and edit it if needed:
cp .env.skeleton .env
Edit the following files to update the directives whith you domain name
Run from the project directory:
docker-compose up
Start the nuxt server:
docker exec -it app bash
yarn dev