version: "3.9" services: resty: image: openresty/openresty:1.21.4.1-4-alpine ports: - "8696:80" environment: - 'LUA_PATH=/?.lua;/aproxy/?.lua' volumes: - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro - ./conf.lua:/etc/aproxy/conf.lua:ro - .:/aproxy:ro