diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 9cdc54b..1ab79f7 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -55,17 +55,17 @@ services: image: ${REGISTRY}/saas-imobiliaria-frontend:${IMAGE_TAG:-latest} networks: - proxy + volumes: + - type: bind + source: /opt/saas-imobiliaria/public/imoveis + target: /usr/share/nginx/html/imoveis + read_only: true deploy: replicas: 1 restart_policy: condition: any delay: 5s max_attempts: 5 - mounts: - - type: bind - source: /opt/saas-imobiliaria/public/imoveis - target: /usr/share/nginx/html/imoveis - read_only: true labels: - "traefik.enable=true" - "traefik.docker.network=proxy"