Skip to content

Commit

Permalink
pr fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
joelclermont committed Jun 12, 2024
1 parent cd6042a commit 955c756
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Once `mkcert` is installed, we need to generate our local development root certi

Then, generate the certificates for this project and put them into a location accessible to your docker setup:

`mkcert -cert-file docker/nginx/ssl.pem -key-file docker/nginx/key.pem my-project.local`
`mkcert -cert-file docker/vite/ssl.pem -key-file docker/vite/key.pem my-project.test`

### Node environment
The best option to ensure you're using the correct versions of Node and npm with this project is to install [Volta](https://volta.sh).
Expand Down
6 changes: 2 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ services:
image: mysql:8.0.37
volumes:
- mysql-data:/var/lib/mysql
# Uncomment the next line if you need scripts to run on mysql initialization, like creating multiple databases
# - ./docker/mysql/init:/docker-entrypoint-initdb.d
- ./docker/mysql/init:/docker-entrypoint-initdb.d
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: app # update .env and .env.example if you change any of these values
Expand All @@ -42,8 +41,7 @@ services:
image: mysql:8.0.37
volumes:
- mysql-test-data:/var/lib/mysql
# Uncomment the next line if you need scripts to run on mysql initialization, like creating multiple databases
# - ./docker/mysql/init:/docker-entrypoint-initdb.d
- ./docker/mysql/init:/docker-entrypoint-initdb.d
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: apptest # update phpunit.xml if you change any of these values
Expand Down
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default defineConfig(({ mode }) => {
cert: readFileSync("docker/vite/ssl.pem"),
},
hmr: {
host: "project.domain",
host: "my-project.test",
},
};
}
Expand Down

0 comments on commit 955c756

Please sign in to comment.