services: frp-server: container_name: frps image: gofrps:dev build: context: ./src dockerfile: dockerfiles/Dockerfile-for-frps command: ["-c", "/app/conf/frps.toml"] profiles: - server volumes: - ./data:/app - /etc/timezone:/etc/timezone:ro ports: - "7000:7000" # Adjust as needed - "7500:7500" # Adjust as needed frp-client: container_name: frpc image: gofrpc:dev build: context: ./src dockerfile: dockerfiles/Dockerfile-for-frpc command: ["-c", "/app/conf/frpc.toml"] profiles: - client volumes: - ./data:/app - /etc/timezone:/etc/timezone:ro networks: default: driver: bridge name: local external: true