diff --git a/.env b/.env new file mode 100644 index 0000000..ab91f2c --- /dev/null +++ b/.env @@ -0,0 +1 @@ +DATABASE_URL=postgres://alisa:alisa@localhost/alisa \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..573e052 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,16 @@ +services: + postgres: + image: postgres + restart: always + environment: + POSTGRES_DB: alisa + POSTGRES_USER: alisa + POSTGRES_PASSWORD: alisa + ports: + - 5432:5432 + volumes: + - postgres:/var/lib/postgresql/data + +volumes: + postgres: + \ No newline at end of file