Skip to content

Commit

Permalink
added env_name
Browse files Browse the repository at this point in the history
  • Loading branch information
bomzheg committed Jun 12, 2024
1 parent 3845dad commit a787e04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ EXPOSED_PORT=8001
BOTAPI_VERSION=latest
NGINX=latest
REDIS_VERSION=6.2.13-alpine
ENV_NAME=test
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ version: '3.2'
services:

shvatka:
container_name: "shvatka-${ENV_NAME}"
restart: always
image: "bomzheg/shvatka:${SHVATKA_VERSION:-latest}"
volumes:
Expand All @@ -25,6 +26,7 @@ services:
["python", "-m", "shvatka"]

shvatka-ui:
container_name: "shvatka_ui-${ENV_NAME}"
restart: always
image: bomzheg/shvatka-ui:${SHVATKA_UI_VERSION:-latest}
networks:
Expand Down

0 comments on commit a787e04

Please sign in to comment.