Skip to content

Commit

Permalink
Merge ab04fd1 into 8fa44eb
Browse files Browse the repository at this point in the history
  • Loading branch information
NotFish232 committed Apr 4, 2024
2 parents 8fa44eb + ab04fd1 commit e738a03
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions config/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ version: '3.9'

services:
redis:
container_name: server
container_name: intranet_redis
image: redis:latest
networks:
- intranet_net
expose:
- "6379"

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

application:
container_name: intranet
image: application
django:
container_name: intranet_django
image: intranet_image
networks:
- intranet_net
entrypoint:
Expand All @@ -47,8 +47,8 @@ services:
- postgres

celery:
container_name: celery
image: application
container_name: intranet_celery
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_main
volumes:
- ../../:/ion:z

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

Expand Down

0 comments on commit e738a03

Please sign in to comment.