Skip to content

Commit

Permalink
Merge pull request #43 from frontend-park-mail-ru/develop
Browse files Browse the repository at this point in the history
release
  • Loading branch information
IlayMorozoff authored Nov 8, 2024
2 parents 615ee16 + 67106a2 commit 8f5096a
Show file tree
Hide file tree
Showing 177 changed files with 19,621 additions and 4,066 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
node_modules/
dist/
.idea/
.vscode/
.DS_Store

*.precompiled.js
*.min.css

*.mp3
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ENV_FILE = ./docker/.env
include $(ENV_FILE)

DOCKER_COMPOSE_PATH = ./docker/docker-compose.yaml
DOCKER_COMPOSE_PATH = ./docker/docker-compose.$(ENV).yaml

# use `gawk` on mac os
AWK := awk
Expand Down
8 changes: 6 additions & 2 deletions docker/.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
SERVICE_NAME=novamusic
VERSION=v0.3
PORT=3000
VERSION=v0.17
ENV=dev

SSL_PATH=/etc/ssl/nova-music.ru
PUBLIC_KEY=fullchain.pem
PRIVATE_KEY=privkey.pem
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ COPY . .

EXPOSE 3000

CMD [ "npm", "run", "start" ]
CMD [ "npm", "run", "build" ]
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ services:
context: ..
env_file: .env
ports:
- 80:${PORT}
- 3000:3000
restart: on-failure
13 changes: 13 additions & 0 deletions docker/docker-compose.prod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
services:
novamusic-frontend:
image: daronenko/novamusic-frontend:${VERSION}
container_name: novamusic-frontend
build:
dockerfile: docker/Dockerfile
context: ..
env_file: .env
ports:
- 443:3000
restart: on-failure
volumes:
- /etc/ssl/nova-music.ru:/etc/ssl/nova-music.ru
Loading

0 comments on commit 8f5096a

Please sign in to comment.