Skip to content

Commit

Permalink
Update composer, remove unnecessary mailhog
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioMendolia committed Sep 19, 2023
1 parent c103e9d commit d58110c
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 75 deletions.
103 changes: 52 additions & 51 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 2 additions & 24 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
biblioteca:
image: ghcr.io/biblioverse/biblioteca-docker:1.0.6
ports:
- 48480:8080
- "48480:8080"
depends_on:
- db
volumes:
Expand Down Expand Up @@ -38,35 +38,13 @@ services:
- MYSQL_USER=biblioteca
- MYSQL_PASSWORD=biblioteca
ports:
- 49405:3306
- "49405:3306"
volumes:
- mariadb:/var/lib/mysql
networks:
- default
- pontsun

mailhog:
container_name: "biblioteca_mailhog"
image: mailhog/mailhog:latest
ports:
- '38025:8025'
- 1025
labels:
- 'traefik.enable=true'
# traefik v1
- 'traefik.docker.network=pontsun'
- 'traefik.port=8025'
- 'traefik.frontend.rule=Host:biblioteca-mail.docker.test'
# traefik v2
- 'traefik.http.routers.biblioteca_mail.entrypoints=https,http'
- 'traefik.http.routers.biblioteca_mail.middlewares=https_redirect@file'
- 'traefik.http.routers.biblioteca_mail.rule=Host(`biblioteca-mail.docker.test`)'
- 'traefik.http.services.biblioteca_mail.loadbalancer.server.port=8025'
networks:
- default
- pontsun


volumes:
mariadb:

Expand Down

0 comments on commit d58110c

Please sign in to comment.