Application de construction d'idée

olinox14 9444d72d09 upgrade symfony, configure user class and security 2 years ago
api 9444d72d09 upgrade symfony, configure user class and security 2 years ago
app 9444d72d09 upgrade symfony, configure user class and security 2 years ago
doc 9444d72d09 upgrade symfony, configure user class and security 2 years ago
docker a232c67a45 add .htaccess to symfony 2 years ago
.env.skeleton a6fdbbb43b init 3 years ago
.gitignore a6fdbbb43b init 3 years ago
docker-compose.yml a6fdbbb43b init 3 years ago
readme.md fd34d08152 api docker ok 2 years ago

readme.md

Model: Symfony+Nuxt+Caddy

Install

Add those lines to your hosts file:

127.0.0.1 local.api.mydomain.net
127.0.0.1 local.app.mydomain.net

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 with you domain name

  • docker/api/vhost.conf
  • docker/caddy/Caddyfile
  • api/.env

Run

Run from the project directory:

docker-compose up

Start the nuxt server:

docker exec -it app bash
yarn dev