Sarting auth implementation in front

This commit is contained in:
2025-04-04 15:40:25 +02:00
parent b89bb484b7
commit d5e443a7c4
10 changed files with 102 additions and 40 deletions

View File

@@ -2,7 +2,7 @@ services:
api:
build:
context: ./api
#image: roleplay-contracts-api-dev
image: roleplay-contracts-api-dev
env_file: "./.env"
restart: always
ports:
@@ -16,21 +16,21 @@ services:
- "traefik.http.routers.back.rule=PathPrefix(`/api/v1/`)"
- "traefik.http.services.back.loadbalancer.server.port=8000"
# gui:
# build:
# context: ./gui
# image: roleplay-contracts-gui-dev
# restart: always
# ports:
# - "4200:4200"
# volumes:
# - ./gui/rpk-gui/src:/app/src
# - ./gui/rpk-gui/public:/app/public
# labels:
# - "traefik.enable=true"
# - "traefik.http.routers.front.entrypoints=web"
# - "traefik.http.routers.front.rule=PathPrefix(`/`)"
# - "traefik.http.services.front.loadbalancer.server.port=4200"
gui:
build:
context: ./gui
image: roleplay-contracts-gui-dev
restart: always
ports:
- "4200:4200"
volumes:
- ./gui/rpk-gui/src:/app/src
- ./gui/rpk-gui/public:/app/public
labels:
- "traefik.enable=true"
- "traefik.http.routers.front.entrypoints=web"
- "traefik.http.routers.front.rule=PathPrefix(`/`)"
- "traefik.http.services.front.loadbalancer.server.port=4200"
proxy:
image: traefik:latest