services: nginx: image: nginx:latest container_name: nginx restart: unless-stopped volumes: - nginx_data:/etc/nginx/ - /app/nginx/data/conf.d:/etc/nginx/conf.d - /app/ssl:/ssl ports: - 80:80 - 443:443 networks: overlay_net: ipv4_address: 11.200.0.3 deploy: resources: limits: memory: 100M librespeed: image: lscr.io/linuxserver/librespeed:latest container_name: librespeed restart: unless-stopped environment: - PUID=1000 - PGID=1000 - TZ=Etc/Samara - PASSWORD=PASSW0RD - CUSTOM_RESULTS=true - DB_TYPE=sqlite - DB_NAME=lib_speed - DB_HOSTNAME=librespeed - DB_USERNAME=DB_admin - DB_PASSWORD=DB_PAssW0RD # - DB_PORT=DB_PORT #optional # - IPINFO_APIKEY=ACCESS_TOKEN #optional volumes: - /app/librespeed/config:/config ports: - 2222:80 networks: overlay_net: deploy: resources: limits: memory: 100M volumes: nginx_data: networks: overlay_net: external: true