No Description

olinox14 567b4c5e32 restore database_url env var 1 year ago
.idea 2d3b10d897 minor fixes 1 year ago
bin d35efc753e setup symfony and mailer 1 year ago
config 2d3b10d897 minor fixes 1 year ago
migrations d35efc753e setup symfony and mailer 1 year ago
public d35efc753e setup symfony and mailer 1 year ago
src 2d3b10d897 minor fixes 1 year ago
templates d35efc753e setup symfony and mailer 1 year ago
.env 567b4c5e32 restore database_url env var 1 year ago
.gitignore d35efc753e setup symfony and mailer 1 year ago
Dockerfile d35efc753e setup symfony and mailer 1 year ago
README.md b8ed0d01c9 Initial commit 1 year ago
composer.json d35efc753e setup symfony and mailer 1 year ago
composer.lock d35efc753e setup symfony and mailer 1 year ago
cv2-api.conf d35efc753e setup symfony and mailer 1 year ago
symfony.lock d35efc753e setup symfony and mailer 1 year ago

README.md

CV Api

Build

Build your docker container :

docker build -t cv2-api .

Run it (name can be changed):

# On Linux
docker run -v "$(pwd)":/var/www/html -p 3001:80 --name cv2-api cv2-api

# On Windows
docker run -d -v "%cd%:/var/www/html" -p 3001:80 --name cv2-api cv2-api

Execute it and install dependencies :

docker exec -it cv2-api bash

The project will be accessible locally at : http://localhost:3000/

Run on a built container

If you've already built your container, start it and run with :

docker start cv2-api
docker exec -it cv2-api bash