Skip to content

Commit

Permalink
Merge ab31b99 into fcdd5de
Browse files Browse the repository at this point in the history
  • Loading branch information
NotFish232 committed Apr 4, 2024
2 parents fcdd5de + ab31b99 commit 042091d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions config/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.9'

services:
redis:
container_name: server
container_name: redis
image: redis:latest
networks:
- intranet_net
Expand All @@ -23,9 +23,9 @@ services:
volumes:
- pgdata:/var/lib/postgresql/data

application:
intranet:
container_name: intranet
image: application
image: intranet_image
networks:
- intranet_net
entrypoint:
Expand All @@ -48,7 +48,7 @@ services:

celery:
container_name: celery
image: application
image: intranet_image
networks:
- intranet_net
entrypoint:
Expand All @@ -59,13 +59,13 @@ services:
celery --app intranet worker -l info --without-gossip --without-mingle --without-heartbeat -Ofair"
]
depends_on:
- application
- intranet
volumes:
- ../../:/ion:z

celerybeat:
container_name: celerybeat
image: application
image: intranet_image
networks:
- intranet_net
entrypoint:
Expand All @@ -76,7 +76,7 @@ services:
celery --app intranet beat -l info"
]
depends_on:
- application
- intranet
volumes:
- ../../:/ion:z

Expand Down
2 changes: 1 addition & 1 deletion config/scripts/create_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def validate(username: str) -> str:
return username


def generate_names(args: argparse.Namespace) -> list[tuple[str]]:
def generate_names(args: argparse.Namespace) -> "list[tuple[str]]":
for i, name in enumerate(args.names):
username = ""
if not args.noyear and args.type != "teacher":
Expand Down

0 comments on commit 042091d

Please sign in to comment.