-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(drawer): adding wheel * feat(drawer): adding wheel * feat(drawer): adding types * feat(drawer): adding zoom logic * feat(drawer): adding zoom logic * feat(drawer): adding move logic * feat(drawer): removing zoom * feat(drawer): adding emitter types * fix(docker): revert * fix(linter): imports
- Loading branch information
Showing
22 changed files
with
247 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,47 @@ | ||
version: "3" | ||
version: '3' | ||
|
||
services: | ||
front: | ||
container_name: front | ||
build: | ||
context: ./front | ||
dockerfile: Dockerfile | ||
volumes: | ||
- ./front/:/app | ||
- /app/node_modules | ||
- ./.env:/app/.env | ||
ports: | ||
- "${FRONT_PORT}:3000" | ||
entrypoint: ["yarn", "start"] | ||
|
||
api: | ||
container_name: api | ||
image: go:1.18 | ||
build: | ||
context: ./api | ||
dockerfile: Dockerfile | ||
volumes: | ||
- ./api/:/app | ||
- ./.env:/app/.env | ||
ports: | ||
- 3030:8080 | ||
environment: | ||
ENV: prod | ||
networks: | ||
- private | ||
entrypoint: go build -t ./src/server.go | ||
- "${API_PORT}:3000" | ||
depends_on: | ||
database: | ||
condition: service_healthy | ||
|
||
database: | ||
container_name: database | ||
networks: | ||
- private | ||
front: | ||
container_name: front | ||
networks: | ||
private: | ||
external: false | ||
volumes: | ||
data: {} | ||
image: postgres:15 | ||
restart: always | ||
environment: | ||
POSTGRES_USER: ${POSTGRES_USER} | ||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} | ||
POSTGRES_DB: ${POSTGRES_DB} | ||
ports: | ||
- "${POSTGRES_PORT}:5432" | ||
volumes: | ||
- ./tmp/database:/var/lib/postgresql/data | ||
healthcheck: | ||
test: ["CMD", "pg_isready", "-U", "${POSTGRES_USER}"] | ||
interval: 5s | ||
timeout: 5s | ||
retries: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export type EventListenerCallback = (data?: any) => void | ||
export type EventListenerCallback<T> = (arg: T) => void | ||
|
||
export type EventListeners = Record<string, EventListenerCallback[]> | ||
export type EventListeners<T> = Record<string, Array<EventListenerCallback<T>>> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.