diff --git a/.env.example b/.env.example index 10eb20c783745042977bed4351be0cf6dce46aad..44e92bd19c3fc62c9a7f4e49fa52c9b5dae0b094 100644 --- a/.env.example +++ b/.env.example @@ -13,4 +13,7 @@ MYSQL_PASSWORD=password # Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB. # See the documentation for all the connection string options: https://pris.ly/d/connection-strings -DATABASE_URL="mysql://user:password@localhost:9907/rest_db" +DATABASE_URL="mysql://root:root@localhost:9907/rest_db" + +# --- TOKEN --- +ACCESS_TOKEN_SECRET=aq1hrkja13kfjakwi412qkbcjrnqwqw \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 60492353763ddce5c44ea2a119e0fc64463788a5..778b86797a92182ffa2404b1fbf5b720415bf881 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: '3.3' +version: "3.3" services: db: image: mysql:latest @@ -6,7 +6,4 @@ services: env_file: - .env ports: - - '9907:3306' - volumes: - - ./db/mysql:/var/lib/mysql - - ./db:/docker-entrypoint-initdb.d \ No newline at end of file + - "9907:3306"