Skip to content

Commit

Permalink
Replace container name by compose project name
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertoMoreta committed Apr 4, 2024
1 parent edbaf17 commit 64a33c7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ LOGGING_HANDLERS=console,single_thread_file_handler
SECRET_KEY=
ALLOWED_HOSTS=localhost,127.0.0.1,10.0.2.2
ADMINS=[]
DOCKER_WEB_CONTAINER=appmes-web
DOCKER_DB_CONTAINER=appmes-db
COMPOSE_PROJECT_NAME=appmes
DB_ENGINE=django.db.backends.postgresql
DB_NAME=
DB_USER=
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

services:
web:
container_name: ${DOCKER_WEB_CONTAINER}
build: .
command: gunicorn
ports:
Expand All @@ -21,7 +20,6 @@ services:
db:
condition: service_healthy
db:
container_name: ${DOCKER_DB_CONTAINER}
image: postgres:13
ports:
- "5432:5432"
Expand Down

0 comments on commit 64a33c7

Please sign in to comment.