remove container names

This commit is contained in:
Ian Ward 2024-04-22 14:11:26 -04:00
parent cf72f54d6e
commit 445d52555d
2 changed files with 0 additions and 15 deletions

View File

@ -1,12 +1,3 @@
# Container names
NGINX_CONTAINER_NAME=nginx
REDIS_CONTAINER_NAME=redis
POSTGRESQL_CONTAINER_NAME=db
SOLR_CONTAINER_NAME=solr
DATAPUSHER_CONTAINER_NAME=datapusher
CKAN_CONTAINER_NAME=ckan
WORKER_CONTAINER_NAME=ckan-worker
# Host Ports # Host Ports
CKAN_PORT_HOST=5000 CKAN_PORT_HOST=5000
NGINX_PORT_HOST=81 NGINX_PORT_HOST=81

View File

@ -9,7 +9,6 @@ volumes:
services: services:
nginx: nginx:
container_name: ${NGINX_CONTAINER_NAME}
build: build:
context: nginx/ context: nginx/
dockerfile: Dockerfile dockerfile: Dockerfile
@ -23,7 +22,6 @@ services:
- "0.0.0.0:${NGINX_SSLPORT_HOST}:${NGINX_SSLPORT}" - "0.0.0.0:${NGINX_SSLPORT_HOST}:${NGINX_SSLPORT}"
ckan: ckan:
container_name: ${CKAN_CONTAINER_NAME}
build: build:
context: ckan/ context: ckan/
dockerfile: Dockerfile dockerfile: Dockerfile
@ -50,7 +48,6 @@ services:
test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:5000"] test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:5000"]
datapusher: datapusher:
container_name: ${DATAPUSHER_CONTAINER_NAME}
networks: networks:
- ckannet - ckannet
- dbnet - dbnet
@ -60,7 +57,6 @@ services:
test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:8800"] test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:8800"]
db: db:
container_name: ${POSTGRESQL_CONTAINER_NAME}
build: build:
context: postgresql/ context: postgresql/
networks: networks:
@ -82,7 +78,6 @@ services:
test: ["CMD", "pg_isready", "-U", "${POSTGRES_USER}", "-d", "${POSTGRES_DB}"] test: ["CMD", "pg_isready", "-U", "${POSTGRES_USER}", "-d", "${POSTGRES_DB}"]
solr: solr:
container_name: ${SOLR_CONTAINER_NAME}
networks: networks:
- solrnet - solrnet
image: ckan/ckan-solr:${SOLR_IMAGE_VERSION} image: ckan/ckan-solr:${SOLR_IMAGE_VERSION}
@ -93,7 +88,6 @@ services:
test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:8983/solr/"] test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:8983/solr/"]
redis: redis:
container_name: ${REDIS_CONTAINER_NAME}
image: redis:${REDIS_VERSION} image: redis:${REDIS_VERSION}
networks: networks:
- redisnet - redisnet