Remove container-name:s from Compose file (#5339)

* Remove `container-name:`s from Compose file

* Remove `container-name:`s from dev Compose file

I forgot this one existed, oops.
This commit is contained in:
Seth Price 2023-07-24 22:51:37 -04:00 committed by GitHub
parent bfedb9cf87
commit 60f344a360
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 8 deletions

View File

@ -20,7 +20,6 @@ services:
# Use PostgreSQL as the database backend # Use PostgreSQL as the database backend
# Note: This can be changed to a different backend if required # Note: This can be changed to a different backend if required
inventree-dev-db: inventree-dev-db:
container_name: inventree-dev-db
image: postgres:13 image: postgres:13
expose: expose:
- 5432/tcp - 5432/tcp
@ -37,7 +36,6 @@ services:
# InvenTree web server service # InvenTree web server service
# Runs the django built-in webserver application # Runs the django built-in webserver application
inventree-dev-server: inventree-dev-server:
container_name: inventree-dev-server
depends_on: depends_on:
- inventree-dev-db - inventree-dev-db
build: &build_config build: &build_config
@ -57,7 +55,6 @@ services:
# Background worker process handles long-running or periodic tasks # Background worker process handles long-running or periodic tasks
inventree-dev-worker: inventree-dev-worker:
container_name: inventree-dev-worker
image: inventree-dev-image image: inventree-dev-image
build: *build_config build: *build_config
command: invoke worker command: invoke worker

View File

@ -38,7 +38,6 @@ services:
# Database service # Database service
# Use PostgreSQL as the database backend # Use PostgreSQL as the database backend
inventree-db: inventree-db:
container_name: inventree-db
image: postgres:13 image: postgres:13
expose: expose:
- ${INVENTREE_DB_PORT:-5432}/tcp - ${INVENTREE_DB_PORT:-5432}/tcp
@ -55,7 +54,6 @@ services:
# redis acts as database cache manager # redis acts as database cache manager
# only runs under the "redis" profile : https://docs.docker.com/compose/profiles/ # only runs under the "redis" profile : https://docs.docker.com/compose/profiles/
inventree-cache: inventree-cache:
container_name: inventree-cache
image: redis:7.0 image: redis:7.0
depends_on: depends_on:
- inventree-db - inventree-db
@ -70,7 +68,6 @@ services:
# InvenTree web server service # InvenTree web server service
# Uses gunicorn as the web server # Uses gunicorn as the web server
inventree-server: inventree-server:
container_name: inventree-server
# If you wish to specify a particular InvenTree version, do so here # If you wish to specify a particular InvenTree version, do so here
image: inventree/inventree:${INVENTREE_TAG:-stable} image: inventree/inventree:${INVENTREE_TAG:-stable}
# Only change this port if you understand the stack. # Only change this port if you understand the stack.
@ -90,7 +87,6 @@ services:
# Background worker process handles long-running or periodic tasks # Background worker process handles long-running or periodic tasks
inventree-worker: inventree-worker:
container_name: inventree-worker
# If you wish to specify a particular InvenTree version, do so here # If you wish to specify a particular InvenTree version, do so here
image: inventree/inventree:${INVENTREE_TAG:-stable} image: inventree/inventree:${INVENTREE_TAG:-stable}
command: invoke worker command: invoke worker
@ -109,7 +105,6 @@ services:
# web requests are redirected to gunicorn # web requests are redirected to gunicorn
# NOTE: You will need to provide a working nginx.conf file! # NOTE: You will need to provide a working nginx.conf file!
inventree-proxy: inventree-proxy:
container_name: inventree-proxy
image: nginx:stable image: nginx:stable
depends_on: depends_on:
- inventree-server - inventree-server