services: CAMBIAR_web: image: nginx:alpine container_name: CAMBIAR_web restart: unless-stopped volumes: - ./html:/var/www/html/CAMBIAR:ro - ./default.conf:/etc/nginx/conf.d/default.conf:ro networks: - proxy - internal labels: - "traefik.enable=true" - "traefik.http.routers.CAMBIAR.rule=Host(`CAMBIAR.com.ar`) || Host(`www.CAMBIAR.com.ar`)" - "traefik.http.routers.CAMBIAR.entrypoints=websecure" - "traefik.http.routers.CAMBIAR.tls=true" - "traefik.http.routers.CAMBIAR.tls.certresolver=cloudflare" - "traefik.http.services.CAMBIAR.loadbalancer.server.port=80" deploy: resources: limits: cpus: '0.1' memory: 16M reservations: cpus: '0.01' memory: 8M CAMBIAR_fpm: image: php74-fpm-alpine:v1 container_name: CAMBIAR_fpm user: "1000:1000" restart: unless-stopped volumes: - ./html:/var/www/html/CAMBIAR:ro - ./html/cache:/var/www/html/CAMBIAR/cache:rw - ./html/images:/var/www/html/CAMBIAR/images:rw - ./html/tmp:/var/www/html/CAMBIAR/tmp:rw - ./html/administrator/logs:/var/www/html/CAMBIAR/administrator/logs:rw networks: - internal - db_net deploy: resources: limits: memory: 512M networks: proxy: external: true db_net: external: true internal: driver: bridge