You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.
I getting public ip 404 page not found.But i tested curl localhost everything is normal how can fix that ?
https://www.hizliresim.com/l2kq6e6
https://www.hizliresim.com/l23sai4
My docker file docker-compose.yml when ı install
`version: '3'
services:
traefik:
image: traefik:v2.6
command:
- --log.level=INFO
- --api.insecure=true
- --entrypoints.web.address=:80
- --providers.docker
volumes:
- /var/run/docker.sock:/var/run/docker.sock
labels:
traefik.http.routers.dash.rule: Host(
dash.localhost
)traefik.http.routers.dash.service: api@internal
ports:
- "80:80"
depends_on:
- server
- web
server:
command: yarn start
labels:
traefik.http.routers.server.rule: Host(
api.localhost
)traefik.port: 4000
expose:
- 4000
build:
context: ../.
dockerfile: Dockerfile
args:
BUILD_CONTEXT: server
NPM_TOKEN: ${NPM_TOKEN}
environment:
DB_NAME: postgres
DB_HOST: db
DB_USERNAME: ${DB_USERNAME}
DB_PASSWORD: ${DB_PASSWORD}
REDIS_URI: redis://cache
depends_on:
- db
- cache
web:
command: yarn start
labels:
traefik.http.routers.web.rule: Host(
localhost
)traefik.port: 3000
expose:
- 3000
build:
context: ../.
dockerfile: Dockerfile
args:
BUILD_CONTEXT: web
NPM_TOKEN: ${NPM_TOKEN}
environment:
REACT_APP_API_URL: http://api.localhost
depends_on:
- server
db:
image: postgres:13
restart: always
environment:
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_PASSWORD: ${DB_PASSWORD}
volumes:
- ../server/src/model/migrations/dump.sql:/docker-entrypoint-initdb.d/dump.sql
migration:
command: yarn server typeorm schema:sync
build:
context: ../.
dockerfile: Dockerfile
args:
NPM_TOKEN: ${NPM_TOKEN}
environment:
DB_NAME: postgres
DB_HOST: db
DB_USERNAME: ${DB_USERNAME}
DB_PASSWORD: ${DB_PASSWORD}
depends_on:
- db
cache:
image: redis:6
restart: always
`
The text was updated successfully, but these errors were encountered: