diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..4270981 --- /dev/null +++ b/.env.example @@ -0,0 +1,7 @@ +DATABASE_USER=admin +DATABASE_PASSWORD=password +DATABASE_NAME=formaptix +PORT=3000 +SECRET=super_secret +ADMIN_PASSWORD=admin_password +DISABLE_ADMIN=false \ No newline at end of file diff --git a/README.md b/README.md index 7ebf26b..8e677ce 100644 --- a/README.md +++ b/README.md @@ -1 +1,3 @@ -ааа, нууу \ No newline at end of file +# Formaptix Server + +readme is coming diff --git a/docker-compose.yml b/docker-compose.yml index 2497ff7..08b9629 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,12 +1,12 @@ version: "3" services: - inputly-server: + formaptix-server: build: "." restart: "always" environment: - - DATABASE=postgresql+asyncpg://${DATABASE_USER}:${DATABASE_PASSWORD}@inputly-database:5432/${DATABASE_NAME} + - DATABASE=postgresql+asyncpg://${DATABASE_USER}:${DATABASE_PASSWORD}@formaptix-database:5432/${DATABASE_NAME} - SECRET=${SECRET} - PORT=${PORT} - ADMIN_PASSWORD=${ADMIN_PASSWORD} @@ -14,9 +14,9 @@ services: ports: - ${PORT}:${PORT} depends_on: - - inputly-database + - formaptix-database - inputly-database: + formaptix-database: image: "postgres:bullseye" restart: "always" @@ -25,7 +25,7 @@ services: - POSTGRES_PASSWORD=${DATABASE_PASSWORD} - POSTGRES_DB=${DATABASE_NAME} volumes: - - inputly-database:/var/lib/postgresql/data + - formaptix-database:/var/lib/postgresql/data volumes: - inputly-database: \ No newline at end of file + formaptix-database: \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index bdca83a..a81013b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [tool.poetry] -name = "inputly-server" +name = "formaptix-server" version = "0.1.0" description = "Simple forms service backend" authors = ["Viktor K. "]