diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..1d6df07 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,26 @@ +--- +name: app-targo +services: + backend: + build: + context: https://git.targo.ca/Targo/targo_backend.git + args: + - CALLBACK_URL=http://${SERVER_IP}:${BACKEND_PUBLIC_PORT}/auth/callback + environment: + - REDIRECT_URL_DEV=http://${SERVER_IP}:${FRONTEND_PUBLIC_PORT}/#/login-success + env_file: + - stack.env + ports: + - ${BACKEND_PUBLIC_PORT}:3000 + + frontend: + build: + context: https://git.targo.ca/Targo/targo_frontend.git + args: + - BACKEND_URL=http://${SERVER_IP}:${BACKEND_PUBLIC_PORT}/ + volumes: + - .:/app + env_file: + - stack.env + ports: + - ${FRONTEND_PUBLIC_PORT}:9000 \ No newline at end of file diff --git a/quasar.config.ts b/quasar.config.ts index 7ed67f6..8e9ee05 100644 --- a/quasar.config.ts +++ b/quasar.config.ts @@ -98,7 +98,7 @@ export default defineConfig((ctx) => { devServer: { // https: true, open: true, // opens browser window automatically - allowedHosts: true + allowedHosts: true, }, // https://v2.quasar.dev/quasar-cli-vite/quasar-config-file#framework