From 7127a95ad9541628d9c0314312481c459a7f084b Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 7 Jul 2023 21:34:22 +0200 Subject: [PATCH] =?UTF-8?q?Anpassungen=20docker=20compose=20file=20f=C3=BC?= =?UTF-8?q?r=20mtc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yml | 84 +++++++++++++++++++++++----------------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 185193a..80c7ccd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,15 +1,15 @@ version: '3' networks: - rauru_net: + mtc_net: volumes: - local_pgdata_rauru: - pgadmin-data: + local_pgdata_mtc: + pgadmin_data_mtc: services: - app: - container_name: rauru_app + app_mtc: + container_name: mtc_app build: context: ./dockerfiles dockerfile: nginx.dockerfile @@ -21,85 +21,85 @@ services: volumes: - ./src:/var/www/html:delegated depends_on: - - php - - redis - - db - - mailhog - - pgadmin + - php_mtc + - redis_mtc + - db_mtc + - mailhog_mtc + - pgadmin_mtc networks: - - rauru_net - db: + - mtc_net + db_mtc: image: postgres - container_name: rauru_db + container_name: mtc_db ports: - "5432:5432" environment: - POSTGRES_DB: rauru_db - POSTGRES_USER: rauru_user + POSTGRES_DB: mtc_db + POSTGRES_USER: mtc_user POSTGRES_PASSWORD: secret volumes: - - local_pgdata_rauru:/var/lib/postgresql/data + - local_pgdata_mtc:/var/lib/postgresql/data #- ./rauru_pgdata:/var/lib/postgresql/data networks: - - rauru_net - pgadmin: + - mtc_net + pgadmin_mtc: image: dpage/pgadmin4 - container_name: rauru_pgAdmin + container_name: mtc_pgAdmin ports: - "5050:80" depends_on: - - db + - db_mtc environment: PGADMIN_DEFAULT_EMAIL: admin@example.de PGADMIN_DEFAULT_PASSWORD: secret volumes: - - pgadmin-data:/var/lib/pgadmin + - pgadmin_data_mtc:/var/lib/pgadmin #- ./pgadmindata:/var/lib/pgadmin networks: - - rauru_net - php: + - mtc_net + php_mtc: build: context: ./dockerfiles dockerfile: php.root.dockerfile args: - UID=${UID:-1000} - GID=${GID:-1000} - container_name: rauru_php + container_name: mtc_php ports: - "9000:9000" volumes: - ./src:/var/www/html:delegated networks: - - rauru_net + - mtc_net - redis: + redis_mtc: image: redis:alpine - container_name: rauru_redis + container_name: mtc_redis restart: unless-stopped ports: - "6379:6379" networks: - - rauru_net + - mtc_net - composer: + composer_mtc: build: context: ./dockerfiles dockerfile: php.root.dockerfile args: - UID=${UID:-1000} - GID=${GID:-1000} - container_name: rauru_composer + container_name: mtc_composer volumes: - ./src:/var/www/html depends_on: - - php + - php_mtc entrypoint: [ 'composer', '--ignore-platform-reqs' ] networks: - - rauru_net + - mtc_net - npm: + npm_mtc: image: node:current-alpine - container_name: rauru_npm + container_name: mtc_npm volumes: - ./src:/var/www/html ports: @@ -109,29 +109,29 @@ services: working_dir: /var/www/html entrypoint: [ 'npm' ] networks: - - rauru_net + - mtc_net - artisan: + artisan_mtc: build: context: ./dockerfiles dockerfile: php.root.dockerfile args: - UID=${UID:-1000} - GID=${GID:-1000} - container_name: rauru_artisan + container_name: mtc_artisan volumes: - ./src:/var/www/html:delegated depends_on: - - db + - db_mtc entrypoint: [ 'php', '/var/www/html/artisan' ] networks: - - rauru_net + - mtc_net - mailhog: - container_name: rauru_mailhog + mailhog_mtc: + container_name: mtc_mailhog image: mailhog/mailhog:latest ports: - "1025:1025" - "8025:8025" networks: - - rauru_net + - mtc_net