-
Notifications
You must be signed in to change notification settings - Fork 126
Open
Description
Hello! Following the instructions, I installed Azimutt locally in Docker.
env file
PHX_SERVER=true
PHX_HOST=localhost
PORT=4000
SECRET_KEY_BASE=1wOVZ9rWAqPcbVZdilZzBPLXFKNrUmLUzX0q9Z02LpOy2jVWZwa6ee4fU81tuN+W
DATABASE_URL=postgresql://postgres:postgres@localhost/azimutt_dev
FILE_STORAGE_ADAPTER=local
AUTH_PASSWORD=true
docker-compose file:
services:
database:
image: postgres
restart: always
container_name: azimutt-db
volumes:
- pg-data:/var/lib/postgresql/data
environment: # Used by the postgres image to setup a default user. For security reason, you should avoid using the postgres user
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: azimutt_dev
backend:
container_name: azimutt-backend
platform: linux/amd64
restart: always
build:
context: .
dockerfile: Dockerfile
depends_on:
- database
ports: # Docker need to expose ports for you to access your app.
- 4000:4000
env_file: .env
environment:
DATABASE_URL: "ecto://postgres:postgres@database/azimutt_dev" # Template : "ecto://db_user:db_password@ip_or_compose_service_name/db_name"
SECRET_KEY_BASE: "1wOVZ9rWAqPcbVZdilZzBPLXFKNrUmLUzX0q9Z02LpOy2jVWZwa6ee4fU81tuN+W" # Can literally be anything, but generally generated randomly by tools like mix phx.gen.secret
volumes:
pg-data:
run : docker-compose up -d
After login ([email protected] password - admin), I get an 403 error
Next, I’m connect to azimutt_dev database - table public.users is empty.
When I try Register (from main page), I also get an 403 error
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels