full-stack-fastapi-postgresql icon indicating copy to clipboard operation
full-stack-fastapi-postgresql copied to clipboard

Can't open url

Open lizilong1993 opened this issue 2 years ago • 1 comments

All containers running, but I cannot open any website url of frontend or backend, help! image Below is my .env file, and I set the variable DOMAIN=localhost.

DOMAIN=localhost
# DOMAIN=local.dockertoolbox.tiangolo.com
# DOMAIN=localhost.tiangolo.com
# DOMAIN=dev.localhost

STACK_NAME=localhost

TRAEFIK_PUBLIC_NETWORK=traefik-public
TRAEFIK_TAG=localhost
TRAEFIK_PUBLIC_TAG=traefik-public

DOCKER_IMAGE_BACKEND=backend
DOCKER_IMAGE_CELERYWORKER=celeryworker
DOCKER_IMAGE_FRONTEND=frontend

# Backend
BACKEND_CORS_ORIGINS=["http://localhost", "http://localhost:4200", "http://localhost:3000", "http://localhost:8080", "https://localhost", "https://localhost:4200", "https://localhost:3000", "https://localhost:8080", "http://dev.localhost", "https://stag.localhost", "https://localhost", "http://local.dockertoolbox.tiangolo.com", "http://localhost.tiangolo.com"]
PROJECT_NAME=demo
SECRET_KEY=989e8dc41f7216c393b1830c5b36158992384adceab017ad18fb1fb3d0bc87a8
[email protected]
FIRST_SUPERUSER_PASSWORD=123456
SMTP_TLS=True
SMTP_PORT=587
SMTP_HOST=qq
[email protected]
SMTP_PASSWORD=cxxxxxawhpifcj
[email protected]

USERS_OPEN_REGISTRATION=False

SENTRY_DSN=

# Flower
FLOWER_BASIC_AUTH=admin:123456

# Postgres
POSTGRES_SERVER=db
POSTGRES_USER=postgres
POSTGRES_PASSWORD=123456
POSTGRES_DB=app

# PgAdmin
PGADMIN_LISTEN_PORT=5050
[email protected]
PGADMIN_DEFAULT_PASSWORD=123456

lizilong1993 avatar Mar 15 '23 10:03 lizilong1993

My PC environment:

  • Windows 11
  • Docker version 20.10.23, build 7155243

lizilong1993 avatar Mar 15 '23 10:03 lizilong1993